Standard Operating Procedures: Debugging
Posted: Wed Aug 17, 2005 11:34 pm
Hi, I just want to know how do you deal with errors happening upon development of your script.
Here are mine:
How about yours?
Here are mine:
Code: Select all
1. What type of error? (parsing, syntax, function, undefined, etc.)
2. Line number. If not there, maybe the lines before it.
3. a. If parsing or syntax error, let Zend Studio (or similar editor) reveal it.
b. If undefined variables, constants or functions,
I. check spelling
II. check declarations or initializations
III. check scope (if onlny included, check include statements
c. etc.
4. go to devnetwork.net (please tell me where it is.).