To open the Autos window, you must be debugging. From the Debug menu, choose Windows, and then choose Autos. The Autos window contains the following information:
- The names of all variables in the current statement and the previous statement. The current statement is the statement at the current execution location, which is the statement that will be executed next if execution continues. Structure and array variables have a tree control that you can use to show or hide the elements.
- The value contained by each variable. By default, integer variables are represented in decimal form. You can change the representation to hexadecimal in the General, Debugging, Options dialog box or by right-clicking the Autos window and choosing the Hexadecimal Display option from the shortcut menu.
- The data type of each variable listed in the Name column.
When debugging a native application, and when stepping over a function call (F10), the Autos window will display the return value for that function and any functions that may be called by that function.