The Visualizer Window
The Tools > Visualize command or the $visualize intrinsic sends an array's values to the TotalView Visualizer so that it can display these values. Laminated data panes can also be visualized, in which case, the process or thread index forms one axis of the display.
The Launch Strings page within the File > Preferences Window dialog box allows you to specify the command TotalView will use to start the Visualizer.
The Maximum array rank field sets the maximum rank of the array that TotalView will export to the Visualizer. The Visualizer cannot visualize arrays of rank greater than two; if you are using another visualizer, however, or if you are dumping binary data, you can set the limit here.
The Visualizer can be used in two ways: it can be launched by TotalView to visualize data as you debug your programs, and it can be run from the command line to visualize data dumped to a file in a previous TotalView session.
Visualizing your program's data uses two interactions:
- You interact with TotalView to choose what you want to visualize and when it should make snapshots of your data.
- You interact with the visualizer to choose how you would like your data to be displayed.
The TotalView debugger handles the first of these interactions, extracting data and marshalling it into a standard format that it sends down a pipe. The Visualizer then reads the data from this pipe and displays it for analysis.
The Visualizer has two types of windows:
- Directory Window
A single main window lists the datasets that you can visualize. You can use this window to set global options and to create views of your datasets.
- Data Window
A data window contain images of the datasets. By interacting with a Data Window, you can change its appearance and set dataset viewing options. Using the Directory Window, you can open several Data Windows on a single dataset to get different views of the same data.
For more information on the Visualizer, see Chapter 10 of the TotalView Users Guide.