Chapter 4 How to test and debug an application
Basic debugging skills 140
How to set the options for debugging 140
How to work in break mode 142
How to use breakpoints 144
How to control the execution of an application 146
Exercise set 4-1: Use break mode and step through the code 148
How to use the debugging windows 150
How to use the Immediate window to work with values 150
How to use the Locals window to monitor variables 152
How to use the Call Stack to monitor called procedures 154
How to the Watch window to monitor expressions 156
When and how to use the Quick Watch feature 156
Exercise set 4-2: Use the debugging windows 158
Other debugging techniques 160
How to create a routine that handles specific types of trappable errors 160
How to test an error-handling routine 162
How to use the compiler directives with debugging statements 164
Exercise set 4-3: Code and test an error-handling routine 166
t
[Prev]
[Next]