Microsoft Office Tutorials and References
In Depth Information
Dealing with Logical Errors
While your code executes, the highlight moves from line to line. Each time
an executed statement changes the value of a variable, the Locals window
updates to reflect that change, as shown in Figure 6-4.
Figure 6-4:
Stepping
through
code.
Cleaning up
When you finish debugging or just want to start over with a clean slate, do
one of the following:
To clear the Locals window, right-click any text within the window and
choose the Reset option from the contextual menu that appears.
To clear all breakpoints from your code, choose Debug Clear All
Breakpoints.
You can also close the Locals window by clicking the Close button in the
window’s top-right corner.
Search JabSto ::




Custom Search