In eclipse (and several other IDE's as well) there is an option to turn on the breakpoint only after a certain number of hits. In Python's pdb
there is a hit count for breakpoints and there is the condition
command. How do I connect them?
I found the answer. It's pretty easy actually, there's a command called ignore
let's say you want to break at breakpoint in line 9 on the 1,000th time that it is hit:
b 9
Output: Breakpoint 1 at ...
ignore 1 999
Output: Will ignore next 999 crossings of breakpoint 1.
c