[IPython-user] Automatically starting IPython on exception
Thu Jun 25 15:49:10 CDT 2009
Is there a way to setup IPython to start on exception automatically? I
followed recipe at http://code.activestate.com/recipes/65287/, but replaced
pdb.pm call with ipshell(), with no luck.
In particular, the line of "IPython.Shell import IPShellEmbed" causes an
exception at the time of importing of sitecustomize.py, the stack trace has
following entry in it
from IPython import Debugger, PyColorize
File "/var/lib/python-support/python2.5/IPython/Debugger.py", line 48, in
if '-pydb' in sys.argv:
AttributeError: 'module' object has no attribute 'argv'
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the IPython-user