Python Debugger with source code tracking ability

T

Tran Tuan Anh

Hi all,

I am new to Python and desperated to look for a good Python debugger.
I mean a debugger with source coding tracking. For C/C++, emacs and
gud offers execellent development env. The source code tracking is
extremely useful for recursive functions.

I have spent time Googling but not found anything near.

Thanks!
Tuan-Anh
 
S

Steve Holden

Richard said:
You could take a look at Eclipse (http://eclipse.org/) in conjunction
with pydev (http://pydev.sourceforge.net/). Or you could take a look
at Komodo (http://www.activestate.com/Products/Komodo/) which is a
commercial product with a trial version.
For my money it's well worth looking at Wing (http://wingware.com) - the
more I use this system the more I like it, and I especially like the way
I can inspect and set breakpoints in GUI-based code - it can be
wxPython, Tkinter or something else entirely. The ability to execute
ad-hoc Python statements in the context of interrupted code is a godsend
in heavy debugging sessions.

regards
Steve
 
P

Philippe C. Martin

Idle (does have source tracking)
Eclipse + pydev
Eric3 (Linux only)

The problem I have with any of them (as well as my own debugger) is their
speed: I believe they all use bdb that is currently fairly slow stepping
over extensive amount of code

Regards,

Philippe
 
S

Skip Montanaro

Tran> I am new to Python and desperated to look for a good Python
Tran> debugger. I mean a debugger with source coding tracking. For
Tran> C/C++, emacs and gud offers execellent development env. The source
Tran> code tracking is extremely useful for recursive functions.

There is some support for pdb (the Python debugger) in python-mode. Google
around for pdbtrack. Also, look at Misc/gdbinit in a recent Python
distribution (or use viewcvs in the CVS tab of Python's sourceforge project)
for some gdb magic.

Skip
 
M

Matt

wxPython is including the ActiveGrid ide as a sample in its latest
point release. The ide includes a debugger that allows you to set
breakpoints in source code, inspect values, etc.
 

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

Forum statistics

Threads
474,235
Messages
2,571,181
Members
47,817
Latest member
BartHeckma

Latest Threads

Top