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

Test: breakpoint hit count #13211

Closed
2 tasks done
isidorn opened this issue Oct 4, 2016 · 0 comments
Closed
2 tasks done

Test: breakpoint hit count #13211

isidorn opened this issue Oct 4, 2016 · 0 comments
Labels
debug Debug viewlet, configurations, breakpoints, adapter issues testplan-item
Milestone

Comments

@isidorn
Copy link
Contributor

isidorn commented Oct 4, 2016

Test for #12374 and #12373:

Complexity: 2

We now support specifying a hit count for a breakpoint - thus a breakpoint will only be hit if a debug-adapter specific hit count condition is met. More details: #12373

Have a node workspace and verify:

  • You can edit an existing or new breakpoint to specify the hit condition
  • You can add an existing or new conditional breakpoint to specify the hit condition
  • Breakpoint with a hit count is only hit if the 'hit count expression' is met. The syntax for node-debug is:
    (>|>=|=|<|<=|%)?\s*([0-9]+)

Examples:

  • >10break after 10 hits
  • <3 break on the first two hits
  • 10 same as >= 10
  • % 2 break on every other hit
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
debug Debug viewlet, configurations, breakpoints, adapter issues testplan-item
Projects
None yet
Development

No branches or pull requests

3 participants