Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^6: Interactive scripting with DB (effective ways?)

by adrianh (Chancellor)
on May 27, 2005 at 17:44 UTC ( [id://461176]=note: print w/replies, xml ) Need Help??


in reply to Re^5: Interactive scripting with DB (effective ways?)
in thread Interactive scripting with debugger

really wish you would follow up with at least a brief description of what you consider to be effective use of a debugger

I can't speak for tye, but here's a couple of ways that I occasionally use a debugger.

  • Understanding code. If I've been handed a big ball of mud sans tests then the debugger is a handy tool for understanding how the bugger runs. Although these days I tend to use Devel::Cover first to give me an overview of what's going on.
  • Exploratory testing. Poking at the code to see if I can make it fail and then go write a failing test. I've not use it myself yet, but Devel::TestEmbed looks like a nice little tool to make this task easier.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (4)
As of 2024-03-19 11:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found