how to disable pdb.set_trace() without stopping python program and edit the code -


i suspect have issue in 1 of loops, setup break points pdb.set_trace()

import pdb in range(100):     print("a")     pdb.set_trace()     print("b") 

after check variable in loop few times, decide continue programming without further breaks. try break number b command, no breaks listed. guess line of code don't setup break point. how ride of "break points" without stopping program , change code?

to knowledge, not bypass set_trace, neutralize it, once debugger stopped, type:

pdb.set_trace = lambda: 1 

then continue, wont break again.


Comments

Popular posts from this blog

minify - Minimizing css files -

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

php - How to remove letter in front of the word laravel -