On May 29, 2:09 pm, nkarkhan <[EMAIL PROTECTED]> wrote: > Newbie to python here..so bear with me. > > I used to be able to gdb to a target machine running c/c++ code and > see where my program was hanging, crashing, executing.. > > How do I do that with python? > I have multi-threaded python programs running on a remote machine. I > want to se where they are at any instance. > > If remote debugging is too much to ask for.. what about local > debugging? > Can i break into an executing program and see at source-level where my > pyhton program/process/thread is at? > > Thank you, > Nitin.
I've never done this, but I some Google-fu and found this stuff: http://hapdebugger.sourceforge.net/ http://wiki.python.org/moin/PythonDebuggers I suppose you could add some logging code to your program as well and check that from time to time. Mike -- http://mail.python.org/mailman/listinfo/python-list