Type of Coding Errors: - Before we commence examining techniques for correcting coding errors, we need to understand the different types of errors that commonly occur.
- Remember we are discussing coding errors.
- There are other sources of errors, which are not caused by faulty code.
- Syntax Errors
- Runtime Errors
- Logic Errors
Debugging Techniques: - Errors or defects that cause software to malfunction in some way are called bugs.
- Debugging is the process of identifying and correcting bugs. In this section we consider some commonly used techniques used to assist in the debugging process.
- Stubs
- Flags
- Debugging Output Statements
- Automated Debugging Tools
Student Activity You will be asked to individually or in pairs prepare and deliver the following topics:
You will prepare a presentation and explanation of the topics and deliver it in class. - Type of Coding Errors:
- Syntax Errors
- Runtime Errors
- Logic Errors
- Debugging Techniques:
- Stubs
- Flags
- Debugging Output Statements
- Automated Debugging Tools
|