Figure 2 shows two Variable Windows, one created by diving on a structure and the second by diving on an array.
Figure 2: Diving on a Structure and an Array
If the displayed data is not scalar, you can redive on it for more information. When you dive in a Variable Window, TotalView replaces the window’s contents with the new information, or you can use theView > Dive Thread in New Window command to open a separate window.
For pointers, diving on the variable dereferences the pointer and displays the data pointed to. In this way, you can follow linked lists.
Buttons in the upper right corner () support undives and redives. For example, if you’re following a pointer chain, click the center-left arrow to go back to where you just were. Click the center-right arrow to move forward.