Totalview® User Guide : PART II Debugging Tools and Tasks : Chapter 9 Examining and Editing Data and Program Elements : C++View
C++View
C++View (CV) is a facility that allows you to format program data in a more useful or meaningful form than the concrete representation that you see in TotalView when you inspect data in a running program. To use C++View, you must write a function for each type whose format you would like to control. The signature of the function must be:
int TV_ttf_display_type ( const T *p )
where T is the type. Your function must use a TotalView-provided API to communicate the formatted representation of your data to TotalView.
When TotalView needs to display data, it checks to see if there is a function registered for the type to which the data belong. If there is, TotalView calls that function, and uses the results generated. Otherwise, if there is no matching function defined, TotalView presents the data in their raw form.
For complete details on using C++View, refer to the C++View chapter in the TotalView Reference Guide.
C++View is available from the Preferences window. (See "Setting Preferences".)
Displaying Fortran TypesTotalView lets you display FORTRAN 77 and Fortran 90 data types.
The topics in this section describe the various types and how the debugger handles them:
"Displaying Fortran Common Blocks"
"Displaying Fortran Module Data"
"Debugging Fortran 90 Modules"
"Viewing Fortran 90 User-Defined Types"
"Viewing Fortran 90 Deferred Shape Array Types"
"Viewing Fortran 90 Pointer Types"
"Displaying Fortran Parameters"