After using one of these methods, TotalView displays a Variable Window that contains the information you want. The Variable Window can display simple variables, such as ints, sets of like elements such as arrays, or more complicated variables defined as structures and arrays of structures.
Figure 118 – Variable Window for a Global Variable
If you keep a Variable Window open while a process or thread is running, the information being displayed might not be accurate. TotalView updates the window when the process or thread stops. If TotalView can’t find a stack frame for a displayed local variable, the variable’s status is sparse, since the variable no longer exists. The Status area can contain other information that alerts you to issues and problems with a variable.
When you debug recursive code, TotalView doesn’t automatically refocus a Variable Window onto different instances of a recursive function. If you have a breakpoint in a recursive function, you need to explicitly open a new Variable Window to see the local variable’s value in that stack frame.