4 ms·
I find ipython + ipdb super useful in this regard But AFAIK neither provide the feature described in the article where you can continue running after an unhand
by anentropic 6y ago
I find ipython + ipdb super useful in this regard
But AFAIK neither provide the feature described in the article where you can continue running after an unhandled exception.
- jmuhlich 6y agoTrue, but running the %debug magic command in IPython immediately after an unhandled exception drops you into the debugger at the point of the raised exception, complete with the full interpreter state including the stack. It doesn’t permit edit-and-continue but you can still evaluate expressions (including calling any function) to explore what went wrong without having to recreate the situation inside an explicit pdb session.