Remote Debugging for python.

Mike Driscoll kyosohma at gmail.com
Thu May 29 15:17:08 EDT 2008


On May 29, 2:09 pm, nkarkhan <nkark... at gmail.com> 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



More information about the Python-list mailing list