有没有一种方法可以告诉pdb或ipdb跳过所有未来的断点,就像它们不存在一样,直到程序执行完毕?
(Pdb) help clear
cl(ear) filename:lineno
cl(ear) [bpnumber [bpnumber...]]
With a space separated list of breakpoint numbers, clear
those breakpoints. Without argument, clear all breaks (but
first ask confirmation). With a filename:lineno argument,
clear all breaks at that line in that file.
Note that the argument is different from previous versions of
the debugger (in python distributions 1.5.1 and before) where
a linenumber was used instead of either filename:lineno or
breakpoint numbers.
还有一个主题讨论了你的问题:如何退出pdb并允许程序继续运行?