Pass Count on breakpoints

Answered

I'm using the Python plugin for IntelliJ IDEA Ultimate 2019.02.

It seems that breakpoints don't have a "pass count" property so that I can break on, say, the 10th time a breakpoint is hit.  This is something that's available when debugging Java code.

Any chance this can be added?  Any workaround people use?

0
3 comments

No, as far as I can tell conditional breakpoints can't be used to stop at the Nth time a breakpoint is hit.

I'm talking about the "pass count" functionality mentioned here: https://www.jetbrains.com/help/idea/using-breakpoints.html

0

Oh, I see. You can use conditional breakpoints for loops, but it's not possible for e.g. methods that are called several times unless there is a similar counter.

I filed a feature request to our issue tracker https://youtrack.jetbrains.com/issue/PY-39811, feel free to vote and leave comments.

0

Please sign in to leave a comment.