I used ipdb.set_trace()
somewhere in my Python code. Is it possible to ignore this break point using a IPDB command?
clear
tells me that it cleared all break points, but IPDB stops again when it stumbles upon the line with ipdb.set_trace()
.
disable 1
tells me: No breakpoint numbered 1
ignore 1
says: Breakpoint index '1' is not valid
To clarify: Of course I could simply remove the break point from my source code. But this would require to quit the debugger and to start it again. Often it needs a lot of work to get somewhere and restarting the debugger makes life more difficult. Also if there is a huge loop and you want inspect objects in the loop, the easiest is to place a break point in the loop directly after the object. How could I then skip the loop (and all thousands of calls set_trace()
) and step through the code after the loop using next
?
grep
or a search to figure out where it is. – Kakalina