[IPython-User] Custom magic debugger function

Thomas Kluyver takowl@gmail....
Sun Aug 7 06:46:33 CDT 2011

On 7 August 2011 09:04, Aaron Meurer <asmeurer@gmail.com> wrote:

> Is it possible to create custom magic expressions?  I'd like to create
> a %pudb magic, which acts like %pdb except it calls PuDB on failure
> instead of pdb.

It's certainly possible to create custom magic expressions. For handling
exceptions, I think that interactiveshell.set_custom_exc should do what you

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-user/attachments/20110807/9d925d1f/attachment.html 

More information about the IPython-User mailing list