The Locals Window

The Locals window (see Figure 7.9) displays the value of the declared variables local to the procedure in which program execution has been paused with a breakpoint. Module-level variables are also listed under the object Me in the Locals window. Display the Locals window by selecting it from the View menu or Debug toolbar.

When you suspect a procedure contains a logic error, insert a breakpoint in the procedure, run the program, and display the Locals window before stepping through the procedure's code. This is a handy tool for debugging a procedure as it allows you to view the values of all local variables while stepping through the code.

Biorhythm Awareness

Biorhythm Awareness

Who else wants to take advantage of biorhythm awareness to avoid premature death, escape life threatening diseases, eliminate most of your life altering mistakes and banish catastrophic events from your life.

Get My Free Ebook


Post a comment