[IPython-user] ipdb.set_trace() breaks %run and exit()

David Warde-Farley dwf@cs.toronto....
Wed May 13 23:13:22 CDT 2009


On 13-May-09, at 7:08 PM, David Warde-Farley wrote:

> Hi everyone,
>
> I've noticed that when I use ipdb.set_trace() to halt some code in
> place of pdb.set_trace() using ipdb-0.1dev_r1716 from the cheeseshop
> and ipython-0.9.1, %run doesn't function properly anymore to reload
> that code. This isn't the case with vanilla pdb. exit() also seems to
> be broken by using ipdb.set_trace().

My mistake. I was running a slightly older ipython; with 0.9.1 %run  
works fine but exit() is still broken after I've used ipdb. I'll open  
a ticket.

David


More information about the IPython-user mailing list