Auto window
What do you want to do?
Learn about:
Learn how to:
Get reference information about the Auto window, see below the line.

The Auto window is available from the View menu.

This window displays a useful selection of variables and expressions in, or near, the current statement. Every time execution in C-SPY stops, the values in the Auto window are recalculated. Values that have changed since the last stop are highlighted in red.
Requirements
Can be used with all C-SPY debugger drivers and debug probes.
Display area
This area contains these columns:
- Variable
The name of the variable. This column is not editable.
A name in square brackets, for example
[fieldname], is either the name of a base class for a struct/class object or—if shown in gray and italic)—a pointer to the full object when of a class type derived from the original class.
- Value
The value of the variable. Values that have changed are highlighted in red.
Dragging text or a variable from another window and dropping it on the Value column will assign a new value to the variable in that row.
This column is editable.
- Location
The location in memory where this variable is stored.
- Type
The data type of the variable.
Context menu
This context menu is available:

Note
The contents of this menu are dynamic and depend on which features that your combination of software and hardware supports. However, the list of menu commands below is complete and covers all possible commands.
These commands are available:
- Default Format, Binary Format, Octal Format, Decimal Format, Hexadecimal Format, Char Format
Changes the display format of expressions. The display format setting affects different types of expressions in different ways. Your selection of display format is saved between debug sessions. These commands are available if a selected line in the window contains a variable.
The display format setting affects different types of expressions in these ways:
Variables
The display setting affects only the selected variable, not other variables.
Array elements
The display setting affects the complete array, that is, the same display format is used for each array element.
Structure fields
All elements with the same definition—the same field name and C declaration type—are affected by the display setting.
- Show As
Displays a submenu that provides commands for changing the default type interpretation of variables. The commands on this submenu are mainly useful for assembler variables—data at assembler labels—because these are, by default, displayed as integers.For more information, see Viewing assembler variables.
- Save to File
Saves content to a file in a tab-separated format.
- Right Align ‘Value’ Column
Right-aligns the contents of the Value column.
- Right Align ‘Value’ Column
Right-aligns the contents of the Value column.
- Options
Displays the IDE Options dialog box where you can set various options for C-SPY windows.