From: R. B. <ro...@pa...> - 2006-10-07 12:29:17
|
Recently I've been seeing at what it would take to make pydb work inside of ipython. Some info on this has been posted to the ipython-dev mailing list. So far things have been pretty easy. It seems that another ipython release (0.7.3) is likely to happen in about 3-4 weeks and the ipython folks so far have been positive about getting the pydb support into that release. It might be best to coordinate a pydb release to go with that since there the recent changes have been to make working inside ipython better. In particular, one thing of general interest when working inside any python shell is that I've added pydb.runv() and and pydb.runl() functions to start a debugger session. For example if you are in the stock Python shell. You can do something like this: >>>> import pydb >>>> pydb.runl("--threading", "--nx", "/tmp/test.py", "--option1", "arg1") to start a debugger session. The pydb.runv() form might look like this: >>>> args=("--threading", "--nx", "/tmp/test.py", "--option1", "arg1") >>>> pydb.runv(args) |