Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: I never use the debugger.

by Anonymous Monk
on Jul 27, 2005 at 08:45 UTC ( [id://478512]=note: print w/replies, xml ) Need Help??


in reply to I never use the debugger.

Same here, except that I never use Data::Dumper. I don't like to read output that intended for 'eval'. In the rare case that I want a complex structure to be printed out when debugging (usually, I'm only interested in a few values - scalar I just print, arrays I just interpolate), I use YAML whose output is much better human readable than Data::Dumper's.

And sometimes, I tie a variable to track the changes in its value.

I seldomly use gdb as well, but then, most C programs I write are pretty small. Most of the time I use gdb is when perl segfaults, and I want a stacktrace to send with a bug report.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-04-19 06:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found