| Visual
C++ Debugging |
PAGE
(3 of 6) |
|
Variable Examination
Examination Methods
- If you pause the mouse over a variable name, it's current value is
shown in a popup box. Try this on a few variables.
- The variables window (accessible via the view menu) displays variables
and their values from the the current expression (the auto tab),
local to
the current function (the locals tab), or in relation to the this
pointer (the this tab).
- The watch window (accessible via the view menu) allows variables &
expressions to be constantly evaluated while single-stepping through the
program. In this window, type month and year. As you
step through the program you should notice the value of these variables
being changed.
| © CS Dept Va Tech, 1997. |
All rights
reserved.
|