Re: How to debug python code?



sushant.sirsikar@xxxxxxxxx wrote:
hi,
I am new to Python programming.I am not getting exactly pdb.Can
anyone tell me effective way to debug python code?

I too rely mostly on unit tests and print statements for debugging, but occasionally I use winpdb which is a pretty nice GUI debugger.
http://www.digitalpeers.com/pythondebugger/

Kent
.



Relevant Pages

  • Re: debugging
    ... writeson@earthlink.net (Doug Farrell) writes: ... > end up falling back on inserting print statements in my code to figure ...
    (comp.lang.python)
  • Re: How to debug python code?
    ... anyone tell me effective way to debug python code? ... Then if you get an AssertionError you can insert print statements or ... I never used pdb. ... Thomas Güttler, http://www.thomas-guettler.de/ ...
    (comp.lang.python)