vscode-java-debug
vscode-java-debug copied to clipboard
[Feature]DCEVM: Cannot add break point for code that was created during running debug session
I use DCEVM to do hot code replacement alot. This works greate so far. But when I try to set a breakpoint to the code that has been created while the debug session is running, I only get a greyed out breakpoint. The tooltip hint tells me to restart the debugging session.
Environment
- Operating System: 10.12.6 (16G1314)
- JDK version: 1.8.0_144
- Visual Studio Code version: 1.23.0 (1.23.0)
- Java extension version: 0.25.0
- Java Debugger extension version: 0.9.0
Steps To Reproduce
- start debugger
- add code
- try to set breakpoint into newly created code
Current Result
greyed out breakpint
Expected Result
regular breakpoint that works
Additional Informations
DCEVM is used to inject code
@mojo2012 Thanks for using vscode java debugger, which also supports HCR just the same as that in eclipse, if you prefer DCEVM, which is not tested by us yet, we will put it in backlog and please keep an eye over this issue, I will post here if we decide to take action or have solution to DCEVM