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?
Please sign in to leave a comment.
Hi,
Do you mean conditional breakpoints?

https://www.jetbrains.com/help/pycharm/using-breakpoints.html#breakpoint-properties
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
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.