[IPython-dev] [newbie] stepping through code using the 1/0 trick?
laramichaels1978 at yahoo.com
Thu Jan 7 10:32:55 EST 2010
> > Is there a way to step through code without importing pdb and using
> > set_trace()?
> Why not use set_trace() if you are already inserting exceptions using 1/0?
> import pdb;pdb.set_trace()
But when in ipython I import or %run code with such a set_trace() call I get thrown into the normal pdb, not the nicer iPython version that I find much more usable.
How can I get into ipython's debugger in a way that I can step through code?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the IPython-dev