I'm using remote debug mode. Screenshot: <img width="1440" alt="screen shot 2017-09-21 at 11 21 49 am" src="https://user-images.githubusercontent.com/6193897/30677582-1b88b6ae-9ebf-11e7-8b34-1da0f9ca68ad.png">
Activity
[-]Stepover hit on the comment line[/-][+]Step over hit on the comment[/+]akaroml commentedon Sep 21, 2017
Source mapping is not working correctly. Please take a look Jinbo Wang (@testforstephen).
testforstephen commentedon Oct 16, 2017
cannot reproduce this, needs more info.
jdneo commentedon Oct 19, 2017
Guessing this is because the target program to be debugged has its own JDK runtime. In this case, it is IntelliJ 2017 with JDK 1.8.152.
While the VS Code Java debugger will use the system's JDK. In this case, it is JdK 1.8.131.
And the difference of the two JDKs cause the line number not matching.
I also try to use eclipse to remote debug the same target program. It will also step onto the comment in the java file.
akaroml commentedon Oct 26, 2017
Jinbo Wang (@testforstephen) any updates?
testforstephen commentedon Nov 1, 2017
Show a warning message to tell user the remote debuggee jvm version is different with jvm installed the working PC.
testforstephen commentedon Nov 7, 2017
The fix is to show a warning message when the debugger and the debuggee are running in the different versions of JVMs.