Save state of interpreter

"Martin v. Löwis" martin at v.loewis.de
Tue Oct 12 00:17:48 EDT 2004


Thomas Guettler wrote:
> I want to save the state of the interpreter
> for debugging. The variables of the methods
> in the stacktrace should be saved.
> 
> cgitb seems like a good point to start, but
> maybe someone has already done something like this?

If it is acceptable that the interpreter terminates,
I would send SIGQUIT, and analyse the resulting core
dump in a debugger.

Regards,
Martin



More information about the Python-list mailing list