[IPython-user] setting breakpoints in code

Robin robince@gmail....
Sat Jan 26 10:08:05 CST 2008


Hello,

I would be able to set breakpoints in my code like using
pdb.set_trace(), but so that ipython pulls up the more interactive pdb
session with color and tab completion (like with %pdb on).

Does anyone know what I should put in place of pdb.set_trace() to
achieve this effect?

(I know about %run -d -b<line>, but often I want to put the break in
another module that is called from the script I am running, so it
doesn't work).

Thanks,

Robin


More information about the IPython-user mailing list