[Tutor] Python debugger bummer
Victor Bouffier
victor at grupocdm.com
Tue Jan 17 03:23:36 CET 2006
Thanks Alan.
As always, you are very helpful.
Victor
On Mon, 2006-01-16 at 23:35 +0000, Alan Gauld wrote:
> > 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