Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
alexet opened this issue Feb 19, 2025 · 0 comments

Comments

@alexet
Copy link

alexet commented Feb 19, 2025

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++).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant