microsoft / microsoft/vscode-java-debug
Breakpoints not working
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 591
- Forks
- 429
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 19
Description
When I set a breakpoint in code that I know is running, it never breaks. Previously, I could revert to 0.58.0 to fix this, but it seems that every version (including the prereleases) are broken now. I removed every vscode file I could find in case this was caused by an invalid cache, but it hasn't fixed it. I can pause threads manually, it's just breakpoints that don't work. I don't see any errors in the logs.
System java version: 21 (though I also tried with JAVA_HOME set to 17)
Debuggee java version: 21
Debugger java version: 1.8.0_442 (there's a warning about it)
I'm not sure what else I can check, any advice is welcome.
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
Start by reproducing the breakpoint failure in VS Code with the listed system, debuggee, and debugger Java versions, then compare it with version 0.58.0. Inspect the debugger logs while testing breakpoints and manual thread pauses; done means breakpoints stop execution reliably without new errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, typescript, vscode
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100