We don't bite newbies here... much | |
PerlMonks |
Re: RFC: Basic debugging checklistby GrandFather (Saint) |
on Feb 18, 2009 at 20:22 UTC ( [id://744871]=note: print w/replies, xml ) | Need Help?? |
If you use good IDE then 2, 4 and 5 become either redundant or trivial without making any code changes. Running your code through PerlTidy can show up issues hidden by slack indentation or incorrectly paired tokens (quotes, brackets, ...). It often helps to comment out chunks of code or put temporary early exits into subs so you can focus on the problem area. That technique can be counter productive if you forget to restore the code though! Use a revision control system so that you can back out of large changes easily that may have been made while tracking a problem down. True laziness is hard work
In Section
Meditations
|
|