Specifications
Viewing Out-of-Scope Variables
4-14
10) Notice that the Watch window area says this variable is an unknown
identifier. This shows that *input is not defined within the scope of the
dataIO function.
11) Choose View
→
Call Stack. You see the call stack area next to the Watch
window area.
12) Click on main() in the call stack area to see the value of *input within the
scope of the main function. (The value should be 0, but may differ if you
have modified the sine.dat file.)
13) Right-click on the call stack area and choose Hide from the pop-up menu.
14) Remove the breakpoint that you added in step 4 by putting he cursor on
the line after
return;
in dataIO() and clicking the (Toggle Breakpoint)
toolbar button or pressing F9.