I used to debug a lot like you do, it works fine. Another
good trick is to abuse Data::Dumper for debugging when
diving into data structures and objects. But these all
can be trememdously slower sometimes, especially if the original
code is not yours. I did not really start using
debuggers until I got to my current job where some of the
programs are 30k lines long, none of which were written
by me. They are not a bad sized programs,
but some were written in the most bizzare way, and no
strict. Yet I still have to fix the bugs that are reported.
in reply to RE: RE: Debugging
in thread Debugging
It is hard to get into debuggers at first, but
investigate some of the gui ones like Devel::ptkdb or DDD.
Getting really familiar with a good debugger is (in my opinion)
one of the most advantageous things any programmer can do.