microsoft / vscode-java-debug

Java Debugger for Visual Studio Code.
Other
530 stars 339 forks source link

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

Open mojo2012 opened 6 years ago

mojo2012 commented 6 years ago

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
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

andxu commented 6 years ago

@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