microsoft / microsoft/vscode-java-debug
Stepping over a false conditional breakpoint stops the stepping and just continues.
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 591
- Forks
- 429
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 19
Description
public class DebugTest {
public static void main(String[] args) {
int x = 0;
foo();
x++;
x++;
}
public static void foo() {
int y = 0;
}
}
With this example In put a conditional breakpoint with condition false on int y= 0. Then I put a breakpoint on int x = 0; and used Step Over. After stepping over foo I didn't hit the later lines and the program just continues. Disabling the conditional breakpoint makes stepping over work as I would expect (went from foo() to x++).
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 Java example in vscode-java-debug with a false conditional breakpoint on int y = 0, then compare Step Over behavior with that breakpoint disabled. The fix is complete when stepping from foo() reaches the later x++ lines instead of continuing execution.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, typescript
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100