gdb python C API

skip at pobox.com skip at pobox.com
Thu Jul 21 13:25:26 CEST 2005


    fraca7> derrick a écrit :
    >> are there any tools / methods that others have used to get what line
    >> of the python script is being executed while running in gdb? or if it
    >> would actually show me the source python script (instead of the the
    >> python c source) that would help.

    fraca7> I don't think so, but when having a memory problem I usually
    fraca7> find valgrind very useful.

Actually, take a look in the distribution at Misc/gdbinit.  In particular,
check out the pystack command.

Skip



More information about the Python-list mailing list