[IPython-dev] [newbie] stepping through code using the 1/0 trick?

Lara Michaels laramichaels1978@yahoo....
Thu Jan 7 09:32:55 CST 2010

Hi Robert,

> > 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...
URL: http://mail.scipy.org/pipermail/ipython-dev/attachments/20100107/6bfdab8c/attachment.html 

More information about the IPython-dev mailing list