Locals Window

To open the Locals window, you must be debugging. From the Debug menu, choose Windows, and then choose Locals.

The Locals window contains three columns of information:

Name

This column contains the names of all local variables in the current scope. Structure and array variables have a tree control that you can use to display or hide the elements.

Value

This column shows the value contained by each variable. By default, integer variables are represented in decimal form. You can change the representation to hexadecimal in the Tools dialog box or by right-clicking the Locals window and choosing the Hexadecimal Display option from the shortcut menu.

Type

This column identifies the data type of each variable listed in the Name column.