Examining and Manipulating Data

TotalView provides many ways for you to examine your code.

  • Diving

    You can obtain additional information about almost everything that is displayed in TotalView by clicking on it. This process, which is called diving, tells TotalView that it should display the selected information in some way.

    For example, if you double-click on a function name (or use the View > Dive  command), TotalView display the function's source code in the Process Window's Source Pane.

    You can dive into a variable in the same way that you dive into a function. That is, either double-click on the variable name or select View > Dive while the cursor is over the variable. TotalView lets you examine local variables, registers, global variables, machine-level instructions, and areas of memory.

    You can dive upon almost everything that you see in a TotalView window.

  • Search for functions

    TotalView's View > Lookup Function command lets you search for functions.

  • Change a variable's type and value--Casting and Type Transformation

    You can alter a variable's type to display the data in different formats and you can edit a variable value or a memory location, changing it for the current running process.

    Using the CLI, you can tell TotalView that it should display information in the way you want it displayed. For example, you can display information in a C++ STL as if it were a normal structure or array. (Information on "type transformation" can be found in the CLI Guide.

  • Laminate variables

    You can examine the value of a variable across multiple processes and multiple threads in a single Variable Window. (This ability to display the multiple values of a variable is called lamination.)

  • Examine array data

    You can filter array data to look for elements that match a filter expression. You can also sort data and tell TotalView to display statistical information about an array's contents.

 
 
 
 
support@etnus.com
Copyright © 2001, Etnus, LLC. All rights reserved.
Version 5.0