vscode-java-debug icon indicating copy to clipboard operation
vscode-java-debug copied to clipboard

[Feature]DCEVM: Cannot add break point for code that was created during running debug session

Open mojo2012 opened this issue 6 years ago • 1 comments

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
  1. start debugger
  2. add code
  3. 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 avatar May 17 '18 09:05 mojo2012

@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

andxu avatar May 20 '18 07:05 andxu