Totalview® for HPC User Guide : PART I Introduction to Debugging with TotalView : Chapter 2 Basic Debugging : Examining Data : Viewing Compound Variables Using the Variable Window : Nested Dives
Nested Dives
Since values is a compound type, you can dive again to get more detail about its components. This is called a nested dive.
1. Dive on an array
Dive on the array wave_value_t in the Value column, by double-clicking it:
 
This replaces the existing display with the array’s contents. Note the +(plus) sign on the left side of the Field column. For nonscalar types, you can click the plus sign to see the type’s components:
 
2. Run the program and observe changing variable values
Click Go so that the program runs and again stops at the breakpoint. Note that the variables current_time and value have both changed:
 
 
RELATED TOPICS 
 
More on nested dives