30.01.2013 Views

TotalView Users Guide - CI Wiki

TotalView Users Guide - CI Wiki

TotalView Users Guide - CI Wiki

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Displaying Variables<br />

Figure 180: File > Preferences<br />

Pointer Dive Page<br />

you choose Yes, you can see the value. If you choose Yes (don’t push), you<br />

cannot use the Back command to see this pointer’s value.<br />

CLI: TV::auto_array_cast_bounds<br />

TV::auto_deref_in_all_c<br />

TV::auto_deref_in_all_fortran<br />

TV::auto_deref_initial_c<br />

TV::auto_deref_initial_fortran<br />

TV::auto_deref_nested_c<br />

TV::auto_deref_nested_fortran<br />

Automatic dereferencing can occur in the following situations:<br />

� When <strong>TotalView</strong> initially displays a value.<br />

� When you dive on a value in an aggregate or structure.<br />

� When you use the Dive in All command.<br />

Examining Memory<br />

<strong>TotalView</strong> lets you display the memory used by a variable in different ways. If<br />

you select the View > Examine Format > Structured or View > Examine<br />

Format > Raw commands from within the Variable Window, <strong>TotalView</strong> displays<br />

raw memory contents. Figure 181 shows a structured view.<br />

The way this command displays data is similar to the way dump commands such as od<br />

that exist in your operating system display data.<br />

When displaying a structured view, the left portion of the Variable Window<br />

shows the elements of the data, whether it be a structure or an array. The right<br />

portion shows the value of the data in the way that it is normally displayed<br />

294 Chapter 14: Examining and Changing Data

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!