microsoft / microsoft/vscode-java-debug

Stepping over a false conditional breakpoint stops the stepping and just continues.

Open
#1,535 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

ai-triaged bug
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.