Save state of interpreter

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Thomas Guettler

    Save state of interpreter

    Hi!

    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?

    Thomas


  • Martin v. Löwis

    #2
    Re: Save state of interpreter

    Thomas Guettler wrote:[color=blue]
    > 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?[/color]

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

    Regards,
    Martin

    Comment

    Working...