NextGen TotalView for HPC User Guide : PART II Debugging Tools and Tasks : Chapter 6 Examining and Editing Data : The Data View : Adding Variables to the Data View : Add to the Data View from the VAR Panel
Add to the Data View from the VAR Panel
Use the VAR panel to add variables to the Data View, either by using the context menu or by dragging and dropping.
Figure 67 – Add to the Data View using the context menu
Figure 68 – Add to the Data View by dragging from the VAR panel
As you step through your program and the focus changes, the variables are evaluated using the scope in which they were added. rather than the current scope.
Figure 69 – Evaluated expressions use the original scope
 
This allows you to uniquely view the values of different variables with the same name in different scopes within your program.
If they go out of scope, an error is displayed: