[IPython-User] Magic functions during debugging sessions

Cássio M. M. Pereira cassiomartini@gmail....
Fri Jan 4 12:37:08 CST 2013


Hi,

Is there a way to make the magic functions, such as %timeit available
during debugging sessions?

For instance, I usually import pdb (or ipdb) and use pdb.set_trace(),
which makes IPython drop into the pdb> prompt. I'd like to be able to
use magic functions such as %timeit also on the debug prompt.

Thanks,
Cássio


More information about the IPython-User mailing list