You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Open and Debug 5.breakpoint project, add breakpoint at anonymous/inner class, they all can be hit.
Add conditional breakpoint and Logpoint, it works. Evaluate an expression at Debug Console, the result is returned successfully.
Open and Debug 24.hotCodeReplace project, add a breakpoint at Person.getInternalName() method. When the breakpoint is hit, change the method content of this method, the old stack frame is discarded and pop a new stack frame. HCR works.
When the suspended thread only contains one stack trace, and modifying the top stack frame method, HCR throws error Hot code replace failed - JVM contains obsolete methods. Would you like to restart the debug session?. This is expected.
Activity
testforstephen commentedon Jun 27, 2018
Mac
5.breakpointproject, add breakpoint at anonymous/inner class, they all can be hit.Add conditional breakpoint and Logpoint, it works. Evaluate an expression at Debug Console, the result is returned successfully.
24.hotCodeReplaceproject, add a breakpoint atPerson.getInternalName()method. When the breakpoint is hit, change the method content of this method, the old stack frame is discarded and pop a new stack frame. HCR works.Hot code replace failed - JVM contains obsolete methods. Would you like to restart the debug session?. This is expected.yaohaizh commentedon Jun 27, 2018
Test logpoint for Ubunut:
yaohaizh commentedon Jun 27, 2018
VSCode 1.24
OS:Ubuntu
yaohaizh commentedon Jun 27, 2018
Ubuntu
Java 8:
Java 9:
bsaby commentedon Jun 27, 2018
Run test plan
Following vscjavaci/java-debug-ci#17
testforstephen commentedon Jun 27, 2018
0.10.0 is released, close the issue.