[IPython-user] debugging with ipython

Brian Granger ellisonbg.net@gmail....
Mon Jul 27 11:35:32 CDT 2009


Robert,

try:
>     from IPython.Debugger import Tracer
> except ImportError:
>     debug = lambda : None
> else:
>     debug = Tracer()
>

Yes, even though this should work,  it doesn't.  That is a bug (minimally in
the docs).


> try:
>     from IPython.Debugger import Tracer
> except ImportError:
>     debug = lambda : None
> else:
>     import IPython.ipapi
>     IPython.ipapi.make_session()
>     debug = Tracer()
>
> this is ok, but then any non-catched error causes:
>

Can you provide a very simple example of a file that triggers this error
when run?  Thanks,

Brian


>
> **********************************************************************
>
> Oops, IPython crashed. We do our best to make it stable, but...
> ....
>
> which is not something I (and you) want to see - so how to debug with
> IPython without running ipython first?
>
> r.
> PS: ipython 0.9.1
> _______________________________________________
> IPython-user mailing list
> IPython-user@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-user/attachments/20090727/415bae7d/attachment.html 


More information about the IPython-user mailing list