How to debug python code?

R. Bernstein rocky at
Fri Mar 31 18:08:48 CEST 2006

Dennis Lee Bieber <wlfraed at> writes:

> On 30 Mar 2006 21:18:50 -0800, sushant.sirsikar at declaimed the
> following in comp.lang.python:
> > hi,
> >        I am new to Python programming.I am not getting exactly pdb.Can
> > anyone tell me effective  way to debug python code?
> 	I think I toyed with pdb back around 1993... Never needed it...
> 	Of course, with so many different languages and debuggers in my
> life, I've never found time to master any but the old VMS debugger
> (which is nothing more than a very complex error handler <G>)

That's one reason why in my bash and GNU make debugger (and in
extending pdb), I've stuck to the gdb command set: the effort that is
spent mastering gdb can be transfered in the GNU Make, Bash, *AND*
Python debuggers.

More information about the Python-list mailing list