Debugging Python ?

Shane Hathaway shane at zope.com
Mon Jul 28 11:57:40 EDT 2003


Skip Montanaro wrote:
>     Bill> I'd be happy to hear your techniques to debug python programs.
> 
> Crude though it may seem, I find print statements quite effective.  Works in
> all environments as well. ;-)

As a bonus, I find that print statements do not rightfully belong in 
most of the software I write.  Therefore I can happily add print 
statements anywhere for debugging purposes, knowing that removing them 
later is perfectly safe.

Shane






More information about the Python-list mailing list