[Tutor] Python debugger bummer
Alan Gauld
alan.gauld at freenet.co.uk
Tue Jan 17 00:35:40 CET 2006
> I was going through the Python library documentation and I found
> something I never saw before.
>
> $ python -m pdb myscript.py
I was just about to suggest loading pdb...
And of course there is also a graphical debugger in IDLE as
well as PythonWin.
The paper version of my book contains a chapter
(not on the web site) on how to use pdb to debug a script.
pdb has its limitations but if you are used to gdb then its
not too bad.
(pdb) help
is your friend.
Alan G
Author of the learn to program web tutor
http://www.freenetpages.co.uk/hp/alan.gauld
More information about the Tutor
mailing list