debugging

Michael Geary Mike at DeleteThis.Geary.com
Fri Jan 23 11:37:53 EST 2004


Doug Farrell wrote:
> Can someone help me out a little with Python? What do people
> use to debug Python code? I don't understand how to use the
> built in debugger and I haven't had any luck getting ddd to
> debug my Python programs. I end up falling back on
> inserting print statements in my code to figure out what's
> going on. This works but isn't always the fastest route to a
> solution. So, I'm just wondering what other people do.

What OS are you running?

On Windows, PythonWin has a nice interactive debugger.

My favorite is Komodo, which is available for Windows, Linux, and Solaris:

http://www.activestate.com/Products/Komodo/

Komodo is not free, but the personal edition is pretty cheap, and the
commercial edition is well worth the price for commercial development.

-Mike





More information about the Python-list mailing list