Jinbo Wang

Results 326 comments of Jinbo Wang
trafficstars

The debugger searches the source container associated with the project to locate the source file corresponding to the specified frame location. If no match is found, it returns the label...

Could you please share the steps to reproduce the problem? It would also be helpful if you could attach a sample project and the launch.json file you used.

They are reasonable suggestions, thanks for the thoughts. > However, the best place to support this is via the Outline view. This is because the Outline view shows the structure...

> @testforstephen When I set a line breakpoint on the line where the method is declared, does it actually translate into a MethodRequest at JDI level (i.e. method breakpoint)? It...

The latest debugger 0.37.0 has removed launcher.bat from the command line, could you retry it again?

Just like what the editor "Run Java"/"Debug Java" button does, you can construct the config in memory and then use `vscode.debug.startDebugging(...)` API to invoke Java debugger. https://github.com/microsoft/vscode-java-debug/blob/415ae57296c10e9ffd2204ab66e22cb9d929259c/src/extension.ts#L425-L439

Then you can use the `vscode.debug.registerDebugConfigurationProvider("java", new JavaDebugConfigurationProvider())` API to register a debug configuration provider for the `java` id. This will enable you to implement the `resolveDebugConfiguration(...)` or `resolveDebugConfigurationWithSubstitutedVariables(...)` method,...

Please try this command in the terminal to see if you can use the jdk debug tool: ``` jdb -connect com.sun.jdi.SocketAttach:hostname=localhost,port= ```