in reply to RFC: Basic debugging checklist
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.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: RFC: Basic debugging checklist
by JavaFan (Canon) on Feb 18, 2009 at 23:57 UTC | |
Re^2: RFC: Basic debugging checklist
by toolic (Bishop) on Feb 19, 2009 at 18:27 UTC | |
by GrandFather (Saint) on Feb 19, 2009 at 19:50 UTC | |
by toolic (Bishop) on Feb 19, 2009 at 22:35 UTC |