Debugging Python ?
Miki Tebeka
tebeka at cs.bgu.ac.il
Tue Jul 29 04:51:08 EDT 2003
Hello Bill,
> I'd be happy to hear your techniques to debug python programs.
> Is there any interactive debugging environment by any chance ?
IDLE comes with a debugger.
Personally I use pdb. I have the following line in my .bashrc:
alias pdb='python /lib/python2.3/pdb.py'
And then just
pdb myprog.py -n -q 10034
I like pdb since it allows me to evaluate expression during debugging.
HTH.
Miki
More information about the Python-list
mailing list