saving Python process state for later debugging

aspineux aspineux at
Sun Apr 1 01:07:56 CEST 2007

On 31 mar, 16:48, yossi.krei... at wrote:
> Hi!
> Is there a way to save the state of a Python process for later
> inspection with a debugger? One way to do this is to dump core, but is
> the result usable for debugging with pdb (it can be debugged by gdb,
> which can inspect PyObjects in a CPython core, for example, but it's
> not much fun)?
> If there is no way to do this today, are there essential difficulties
> in implementing this on top of an OS support for "raw" core dumps?

Pylon has something like that.

Turbogears has the same with option tg.fancy_exception

You can navigate into the stack trace from the web interface :-)

> TIA,
> Yossi

More information about the Python-list mailing list