Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

RE: RE: RE: Debugging

by perlmonkey (Hermit)
on May 24, 2000 at 12:20 UTC ( #14517=note: print w/replies, xml ) Need Help??

in reply to RE: RE: Debugging
in thread Debugging

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.

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.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://14517]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2016-10-23 00:08 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (299 votes). Check out past polls.