Chapter 14: Debugging Your Access Applications
541
FIGURE 14.17
The Immediate window contains a lot of valuable information.
Code at break point
Using? to display variable’s value Locals window Immediate window
The most fundamental operation at a breakpoint is to walk through the code, one statement at a
time, enabling you to view what’s happening to the application’s logic and variables. After you’ve
reached a breakpoint, you use a few keystroke combinations to control the execution of the appli-
cation. You’re able to step through code one statement at a time, automatically walk through the
local procedure, or step over the procedure and continue execution on the “other side” of the
procedure.
In Figure 14.18, a breakpoint has been inserted near the top of the FillRecordset1() func-
tion. When execution reaches this statement a breakpoint asserts itself, allowing you to take con-
trol of program execution.