Remote Debugging for python.

N

nkarkhan

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.
 
M

Mike Driscoll

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,817
Latest member
DicWeils

Latest Threads

Top