[IPython-User] Custom magic debugger function

Aaron Meurer asmeurer@gmail....
Sun Aug 7 19:42:43 CDT 2011

On Sun, Aug 7, 2011 at 5:46 AM, Thomas Kluyver <takowl@gmail.com> wrote:
> 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
> want.
> Thomas

Sorry, but how do I create custom magic? I didn't see anything in the
documentation, though I may have missed it.

Aaron Meurer

More information about the IPython-User mailing list