Jinbo Wang

Results 332 comments of Jinbo Wang
trafficstars

Could you share which maven plugin is generating the `generated-sources/java` folder? Usually you need to configure the lifecycle-mapping-metadata for the source generation maven plugins you used in your project's pom.xml...

@soccerdude288 thanks for reaching out. HCR failures may be related to different Java compilers. VS Code Java uses Eclipse Compiler for Java (ECJ) to compile your modified java code, but...

Could you pls provide the details about this error? It's better to provide a sample project to reproduce the issue.

From the error logs, the failure is related to the evaluation feature because the evaluation engine needs to find the context source code to compile the evaluation expression. I will...

*.argfile is auto generated by Java debugger, you cannot change its encoding through settings.json. ~~From my experiment, it seems the encoding of *.argfile is not important. On Windows, I add...

Current workaround is to disable *.argfile. Go to .vscode/launch.json, change the launch setting to `"shortenCommandLine": "none"`. If launch.json doesn't exist, use the following approach to generate one first. ![image](https://user-images.githubusercontent.com/14052197/150531012-3ccb88ce-dee8-4b33-9256-954b0cd206ab.png)

Your debug config is correct. Meanwhile, you need to enable debug mode in your remote JVM by using the following command line format. 你的远程调试配置是对的。不过你需要在你的远程机器中按如下的命令行格式启动Java程序。 ``` java -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=48974,quiet=y -cp . MyMainApplication...

@acodervic 如果你指的是让debugger通过网络代理连接到远程机器,你需要把网络代理信息设置在vscode settings `java.jdt.ls.vmargs`里面。参考下面的页面关于怎么为java插件配置代理。 https://github.com/redhat-developer/vscode-java/wiki/Using-a-Proxy

method entry breakpoints are not supported in VS Code Java Debugger yet. @gayanper Are you talking about lambda entry breakpoint like this https://bugs.eclipse.org/bugs/show_bug.cgi?id=579100? Right?

![image](https://user-images.githubusercontent.com/14052197/167246153-f528a344-a0b7-485f-92e4-702e680067ee.png) I see Eclipse has separate menus to toggle Lambda Entry Breakpoint and Function Breakpoint, we don't have similar capabilities in VS Code yet. Currently only line breakpoints are supported,...