[IPython-user] Debugging with IPython

Gael Varoquaux gael.varoquaux@normalesup....
Thu Aug 28 01:08:10 CDT 2008

On Wed, Aug 27, 2008 at 06:12:29PM -0400, Yang Zhang wrote:
> I realize that IPython is a shell, and (at least AFAIK) not a debugger,
> so I shouldn't expect to be able to use it as a replacement for pdb's
> facilities for stepping through lines, navigating stack frames, etc.
> However, is there any way to use IPython to inspect/manipulate the
> environment once an application reaches a certain point?  Thanks in
> advance.

What I do (Fernando taught me this a year ago) is that I insert some
invalid code to raise an exception where I want to debug the application,
then I run it with "%run my_file.py", and when the app tracebacks, I use


More information about the IPython-user mailing list