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
pdb
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 after 1000 hits:
ignore
b 9
Output: Breakpoint 2 at ...
Breakpoint 2 at ...
ignore 1 1000
Output: Will ignore next 1000 crossings of breakpoint 1.
Will ignore next 1000 crossings of breakpoint 1.
c