Logging Errors
| Logging
your errors is a good way of helping you to identify the kind of errors that occur
frequently, and helps you to avoid them in your next program. You can log the syntax
errors after the compile, and log any logic errors you get after you run your program ,
i.e. anything that caused the program to give the wrong answer. Add to your code review check list , with information gained when logging errors. |
Error Log :
Program :
| Stage | Number: | Statement Type | Description |
Explanation:
| Program: Name of program Stage: Compile time or run time Number Sequential number 1 2 3 etc. Statement Type: Assign; if; While etc. Description: Describe the error e.g. missing brace |