# The Local Variables Window

## Overview

The Local Variables Window displays all local variables in scope. It may be used to visualize and edit local variables. To open the Local Variables window, click on small house icon on the toolbar, or select "Local Variables" under the View pulldown menu.

### Locals Display

Pointers, structures, and classes appear in the display with small expansion box before their names. To dereference pointers or view the members of classes or structures, click the closed expansion box (which appears as a small plus sign, "+") to "expand" the listing. The expansion box changes to a minus sign, "-", indicating that the display is now open. Pointers, structures and classes may be expanded recursively to allow multiple pointer dereferences and embedded structure viewing.

The Locals Display updates after every execution of the program and highlights in green those variables whose values have changed.

The Locals Window will, by default, display all pointers in hexadecimal and all other variables in decimal. To change the display format for a variable, select the Format option from the popup-menu.

### Editing a Variable

To edit a variable, either double-click the left mouse button on the value of the variable in the display or select the Edit option from the pop-up menu. To abort editing a variable's value, simply press the escape key on the keyboard. The variable's original value is restored.

### Local Variable Pop-up Menu

The pop-up menu provides quick access to the functions of the Local Variables Window. To use the pop-up menu, click the right mouse button while over a variable.

Format
  Change the display format of the variable.
Edit
  Edit the variable's value.
Delete
  Remove the variable from the display.
Dump Memory
  Open a Memory Window with the variable's value as an aaddress.
Help
  Open this help page.
Close
  Close the Local Variables Window.