Using Spreadsheet Fields

The debugger interface uses spreadsheet fields, which have an interface similar to that of Microsoft Excel. These spreadsheet fields appear in the Watch window, the Variables window, and the Quick Watch dialog box.

Spreadsheet fields contain controls for easy viewing of array, object, structure, and pointer variables. If the variable is a pointer, the branch immediately below the pointer contains the value pointed to. If the variable is an array, object, or structure, the branch below the variable contains the component elements or members.

The variables are marked with a box containing a plus sign (+) in the Name column. You can expand the variable by clicking the + box, which opens into a tree that may contain additional boxes. When a variable is expanded, the box in the Name column contains a minus sign (). You can collapse an expanded variable by clicking the box. As an alternative, you can expand a variable by selecting it and pressing the PLUS SIGN or RIGHT ARROW key. You can collapse a variable by selecting it and pressing the MINUS SIGN or LEFT ARROW key.

Scalar variables, which have no components to expand, do not have boxes in the Name column.

When working with these fields, you can autosize a column to fit its contents by double-clicking the divider. You can size a column manually by dragging the divider at the right edge of the column.

In the Watch window the columns that are next to the Name column display values of variables on the processes specified in the current network filter, one column for one process. If you change current call stack position of a process you can do this in the Call stack tab of the Debug info window values of all variables in the corresponding column of the Watch window are colored in red.

 

See also:

Watch window

Debug info window

Quick Watch window