Traceback of hanged process

Gabriel Genellina gagsl-py at yahoo.com.ar
Sun Jan 7 14:53:13 EST 2007


On 6 ene, 19:45, Hynek Hanke <h... at brailcom.org> wrote:

> please, how do I create a pythonic traceback from a python process that
> hangs and is not running in an interpreter that I executed manually
> or it is but doesn't react on CTRL-C etc? I'm trying to debug a server
> implemented in Python, so I need some analog of 'gdb attach' for C.

On Windows, Pythonwin has an option "Break into running code".
Try starting the script with python -i, and send it a signal..

-- 
Gabriel Genellina




More information about the Python-list mailing list