Debugging Basics

See Also

The process of locating and fixing errors in your application is known as debugging. The development environment’s debugging support includes breakpoints, break expressions, watch expressions, and the ability to step through code one statement or one procedure at a time and display the values of variables and properties. Many of the languages supported in the development environment also include special debugging features, such as edit-and-continue capability, setting the next statement to execute, and procedure testing while the application is in break mode.

Debugging tools are designed to help you with:

Debugging tools give you a snapshot of the current state of your application, including:

There are four main windows that you'll use while debugging your application:

There are also several other debugging windows that you will use in certain situations, depending upon the type of application you are debugging and upon the language engine.