TotalView® for HPC Getting Started Guide : Getting Started with TotalView Products : Examining and Editing Data
Examining and Editing Data
Diving and Viewing Data
Diving is integral to the TotalView GUI and provides a quick, intuitive, and effective way to get more information about various program elements. Diving is usually performed by just double-clicking on an element and generally launches a window with more information. You can dive on variables of course, but also on processes and threads, the call stack, functions, and source code.
To dive on a variable, just double-click on it or highlight it and select View > Dive to launch a Variable Window, Figure 14.
 
Figure 14 – Diving on a variable in the Stack Frame
Local variables are visible in the Stack Frame as in Figure 14, while global variables are available in the Source Pane.
In the Source Pane, if a global variable or function can be dived on, a red dotted box appears when your cursor hovers over it, Figure 15.
Figure 15 – Diving on an object in the Source Pane
For example, the Stack Frame Pane in the Process Window contains the current call stack. When you dive on a routine, TotalView shows the routine in the Source Pane and its variables in the Stack Frame Pane.
 
Figure 16 – Diving on a routine
 
TotalView provides several other ways to see more detail about any aspect of your program:
Displaying the call graph:
Use Tools > Call Graph to launch a dynamic diagram that shows all the currently active routines. Click Update to recreate this display in a running program
Viewing the state of every process and thread:
Use Tools > Parallel Backtrace View to view the status of thousands of processes from a single window.
Viewing your array data graphically:
Use the Variable Window’s Tools > Visualize to view array data as a graph or in the Visualizer, a versatile, stand-alone program that can be launched directly from within TotalView or separately via the command line.
 
RELATED TOPICS 
All objects you can dive on
Diving into Objects” in the TotalView for HPC User Guide
Diving in a Variable Window
Diving in Variable Windows” in the TotalView for HPC User Guide
The View > Dive In All command
Displaying an Array of Structure’s Elements” in the TotalView for HPC User Guide
Displaying your call graph
Displaying Call Graphs” in the TotalView for HPC User Guide
Displaying STL variables
Displaying STL Variables” in the TotalView for HPC User Guide
Displaying assembler code
Viewing the Assembler Version of Your Code” in the TotalView for HPC User Guide
Viewing processes and threads
Displaying a Variable in all Processes or Threads” in the TotalView for HPC User Guide