Problems with new streaming API

Andrew Bennetts andrew at canonical.com
Thu Jan 17 00:04:45 GMT 2008


John Arbash Meinel wrote:
[...]
> 
> Can you attach to a running python interpreter with pdb?

Sadly no, although you can attach gdb, and with some effort/luck run Python
statements from that.  See the example gdbinit in the Python repository.

Perhaps I should write a plugin that intercepts SIGUSR1, and when it does, fires
up a Twisted "manhole" that you can telnet to and get a >>> prompt (complete
with basic line-editing!)...

-Andrew.




More information about the bazaar mailing list