Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: I usually debug via...

by matija (Priest)
on Feb 15, 2005 at 08:47 UTC ( #431062=note: print w/replies, xml ) Need Help??


in reply to I usually debug via...

I often use print. But I also often (perhaps even more often, step through my code with perl -d even when I'm not chasing a specific bug - it's just that if the code is in anyway tricky, I like stepping through it, examining variables at my leisure, and see if the code does what I thought it would.

I caught some bad bugs that way, and I caught them before they could bite me.