WATCHING EXPRESSIONS DURING PROGRAM EXECUTION

One very necessary feature in programming is the capability to watch expressions throughout execution and have the debugger react accordingly. In the past, you might have done this by using a message box to display the value of an expression (see Figure A.8).

Figure A.8. Using a message box to display expressions is a common debugging method.

You also can use the Debug.Print method all over the code. However, there's now a better way to keep an eye on different expressions: the Locals and Watches windows. You can use the Locals and Watches windows to see how your variables are doing and—more importantly— ...

Get F. Scott Barker's Microsoft® Access 2000 Power Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.