Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

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

by adrianh (Chancellor)
on May 27, 2005 at 17:44 UTC ( #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.


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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2014-12-20 14:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (96 votes), past polls