This is an old copy of the Python FAQ. The information here may be outdated.

Is there a source code level debugger with breakpoints, single-stepping, etc.?


The pdb module is a simple but adequate console-mode debugger for Python. It is part of the standard Python library, and is documented in the Library Reference Manual (dead link). You can also write your own debugger by using the code for pdb as an example.

The IDLE interactive development environment, which is part of the standard Python distribution, includes a graphical debugger. There is documentation for the IDLE debugger at (dead link)

PythonWin is a Python IDE that includes a GUI debugger based on pdb. The Pythonwin debugger colors breakpoints and has quite a few cool features such as debugging non-Pythonwin programs. A reference can be found at Recent versions of PythonWin are available as a part of the ActivePython distribution (see

Boa Constructor is an IDE and GUI builder that uses wxWidgets. It offers visual frame creation and manipulation, an object inspector, many views on the source like object browsers, inheritance hierarchies, doc string generated html documentation, an advanced debugger, integrated help, and Zope support.

Eric3 is an IDE built on PyQt and the Scintilla editing component.

Pydb is a version of the standard Python debugger pdb, modified for use with DDD (Data Display Debugger), a popular graphical debugger front end. Pydb can be found at> and DDD can be found at (dead link).

There are a number of commercial Python IDEs that include graphical debuggers. They include:

CATEGORY: programming


A Django site. rendered by a django application. hosted by webfaction.