microsoft / microsoft/vscode-java-debug
[Feature]DCEVM: Cannot add break point for code that was created during running debug session
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 591
- Forks
- 429
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 19
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue with DCEVM using the listed Java, VS Code, and extension versions, following the three provided steps. Trace how breakpoints are handled for code added during an active debug session; done means a breakpoint in newly created code is regular and works without restarting the session.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, vscode
- Domain
- devtools, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100