The Autos Window

The Autos window displays variables used in the current statement, which is the statement that will be executed next if execution continues. The Autos window also will display variables used in three statements on either side of the curre nt statement. The Autos window gets its name from the debugger's ability to automatically identify these variables. Figure 12-16 shows the Autos window.

B|

Hw

UMw

lrf*

_1|

deoonwui*)'

D

biBBi

Tttf

*

MTFJ

5

knag*

Mtlwo™»!^ Tild

~T

Jlmg

Hil]

J

Figure 12-16: The Autos window nwjtji £3 ■ ■ i ■ -

Figure 12-16: The Autos window

You may display the Autos window with the menu command Debug | Windows | Auto if the debugger is running or your program is in break mode. If the debugger is in break mode, you also can modify the value of a variable in the Autos window by double-clicking the value, typing a new value, and pressing ENTER.

Tip As an alternative to double-clicking the value, you can single-click to select the line, and then press the TAB key.

Was this article helpful?

0 0

Post a comment