Datasheet

❑ Immediate — This command displays the Immediate window, where you can type and execute
ad hoc Visual Basic statements. The section “The Command and Immediate Windows” later in
this chapter describes this window in a bit more detail.
❑ Locals — This command displays the Locals window shown in Figure 1-25. The Locals window
displays the values of variables defined in the local context. To change a value, click it and enter
the new value. Click the plus and minus signs to the left of a value to expand or collapse it. For
example, the
Me entry shown in Figure 1-25 is an object with lots of properties that have their
own values. Click the plus sign to expand the object’s entry and view its properties. Those prop-
erties may also be objects, so you may be able to expand them further.
❑ Breakpoints — This command displays the Breakpoints window shown in Figure 1-26. This
dialog box shows the breakpoints, their locations, and their conditions. Select or clear the check
boxes on the left to enable or disable breakpoints. Right-click a breakpoint to edit its location,
condition, hit count, and action. Use the dialog box’s toolbar to create a new function breakpoint,
delete a breakpoint, delete all breakpoints, enable or disable all breakpoints, go to a breakpoint’s
source code, and change the columns displayed by the dialog. Right-click a breakpoint to change
its condition (a condition that determines whether the breakpoint is activated), hit count (a count
that determines whether the breakpoint is activated), and When Hit (action to take when acti-
vated). See the section “The Breakpoints Window” later in this chapter for more detail.
Figure 1-25: The Locals window displays the values
of variables defined in the local context.
Figure 1-26: The Breakpoints window helps you
manage breakpoints.
28
Part I: Getting Started
37055c016.qxd 4/8/07 12:46 PM Page 28










