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

Re^2: RFC: Basic debugging checklist

by toolic (Bishop)
on Feb 19, 2009 at 18:27 UTC ( #745152=note: print w/replies, xml ) Need Help??

in reply to Re: RFC: Basic debugging checklist
in thread RFC: Basic debugging checklist

It often helps to comment out chunks of code or put temporary early exits into subs so you can focus on the problem area.
Excellent point. I seem to remember a node dedicated to this topic here at the Monastery, but I do not have it bookmarked, and my search-fu is weak. I also seem to remember that you were the author. I will continue looking because I think it would be useful to link to it here.

Replies are listed 'Best First'.
Re^3: RFC: Basic debugging checklist
by GrandFather (Sage) on Feb 19, 2009 at 19:50 UTC

    You may be remembering:

    Start with the code that shows the problem and consider the minimum input and output requirements to demonstrate the problem. Then reduce the code and data as much as possible while still showing the problem.

    from I know what I mean. Why don't you?.

    True laziness is hard work
      Yes, I believe that's the node.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2016-10-23 06:41 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (300 votes). Check out past polls.