By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,676 Members | 2,249 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,676 IT Pros & Developers. It's quick & easy.

Remote Debugging for python.

P: n/a
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.
Jun 27 '08 #1
Share this Question
Share on Google+
2 Replies


P: n/a
On May 29, 2:09*pm, nkarkhan <nkark...@gmail.comwrote:
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
Jun 27 '08 #2

P: n/a
nkarkhan <nk******@gmail.comwrites:
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.
www.winpdb.org
Jun 27 '08 #3

This discussion thread is closed

Replies have been disabled for this discussion.