saving Python process state for later debugging

yossi.kreinin at gmail.com yossi.kreinin at gmail.com
Sat Mar 31 10:48:13 EDT 2007


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?

TIA,
Yossi




More information about the Python-list mailing list