On 30 Mar 2006 21:18:50 -0800,
declaimed the
following in comp.lang.python:
> hi,
> I am new to Python programming.I am not getting exactly pdb.Can
> anyone tell me effective way to debug python code?
I think I toyed with pdb back around 1993... Never needed it...
Of course, with so many different languages and debuggers in my
life, I've never found time to master any but the old VMS debugger
(which is nothing more than a very complex error handler <G>)
My typical debugging technique is the infamous "wolf fence" (there's
one wolf in Alaska, how do you find it? First build a fence down the
middle of the state, wait for the wolf to howl, determine which side of
the fence it is on. Repeat process on that side only, until you get to
the point where you can see the wolf). In other words; put in a few
"print" statements until you find the statement that is failing (then
maybe work backwords from the "tracks" to find out where the wolf/bug
comes from).
--
> ================================================== ============ <
> | Wulfraed Dennis Lee Bieber KD6MOG <
> | Bestiaria Support Staff <
> ================================================== ============ <
> Home Page: <http://www.dm.net/~wulfraed/> <
> Overflow Page: <http://wlfraed.home.netcom.com/> <