[IPython-dev] [newbie] stepping through code using the 1/0 trick?
Thu Jan 7 09:47:40 CST 2010
Ah, ok, many thanks!
--- On Thu, 1/7/10, Robert Kern <email@example.com> wrote:
From: Robert Kern <firstname.lastname@example.org>
Subject: Re: [IPython-dev] [newbie] stepping through code using the 1/0 trick?
Date: Thursday, January 7, 2010, 3:41 PM
On 2010-01-07 09:32 AM, Lara Michaels wrote:
> 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
> > 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?
I believe someone is working on adding this ability to 0.11.
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco
IPython-dev mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the IPython-dev