python pdb: resume code execution after exception caught?
Question
If I run a code with the ipython %pdb
magic enabled and the code throws an exception, is there any way to tell the code to continue executing afterwards?
e.g., say the exception is a ValueError: x=0 not allowed
. Can I, in pdb, set x=1
and allow the code to continue (resume) executing?
No correct solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow