TotalView User Guide : Part V: Debugging : Examining and Changing Data : Displaying Variables

Displaying Variables
The Process Window Stack Frame Pane displays variables that are local to the current stack frame. This pane does not show the data for nonsimple variables, such as pointers, arrays, and structures. To see this information, you need to dive on the variable. This tells TotalView to display a Variable Window that contains the variable’s data. For example, diving on an array variable tells TotalView to display the entire contents of the array.
*
Dive on a variable by clicking your middle mouse button on it. If your mouse doesn’t have three buttons, you can single- or double-click on an item.
If you place your mouse cursor over a variable or an expression, TotalView displays its value in a tooltip window.
Figure 170: A Tooltip
If TotalView cannot evaluate what you place your mouse over, it will display some information. For example, if you place the mouse over a structure, the tooltip tells you the kind of structure. In all cases, what you see is similar to what you’d see if you placed the same information within the Expression List Window.
If you dive on simple variables or registers, TotalView still brings up a Variable Window and you do see some additional information about the variable or register.
Although a Variable Window is the best way to see all of an array’s elements or all elements in a structure, using the Expression List Window is easier for variables with one value. Using it also cuts down on the number of windows that are open at any one time. For more information, see Viewing a List of Variables”.
The following sections discuss how you can display variable information:
*
*
*
*
*
*
*
*
*
*
*
*

Rogue Wave Software, Inc.
Voice: (303) 473-9118
rwonlinedocs@roguewave.com