30.01.2013 Views

TotalView Users Guide - CI Wiki

TotalView Users Guide - CI Wiki

TotalView Users Guide - CI Wiki

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

c<br />

h<br />

a<br />

p<br />

t<br />

e<br />

r<br />

Examining and<br />

Changing Data<br />

14<br />

This chapter explains how to examine and change data as you<br />

debug your program.<br />

This chapter contains the following sections:<br />

� “Changing How Data is Displayed” on page 279<br />

� “Displaying Variables” on page 283<br />

� “Diving in Variable Windows” on page 298<br />

� “Viewing a List of Variables” on page 303<br />

� “Changing the Values of Variables” on page 310<br />

� “Changing a Variable’s Data Type” on page 311<br />

� “Changing the Address of Variables” on page 321<br />

� “Displaying C++ Types” on page 322<br />

� “Displaying Fortran Types” on page 324<br />

� “Displaying Thread Objects” on page 329<br />

� “Scoping and Symbol Names” on page 330<br />

This chapter does not discuss array data. For that information, see Chapter<br />

15, “Examining Arrays,” on page 333.<br />

Changing How Data is Displayed<br />

When a debugger displays a variable, it relies on the definitions of the data<br />

used by your compiler. The following two sections show how you can<br />

change the way <strong>TotalView</strong> displays this information:<br />

� “Displaying STL Variables” on page 280<br />

� “Changing Size and Precision” on page 282<br />

<strong>TotalView</strong> <strong>Users</strong> <strong>Guide</strong>: version 8.7 279

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

Saved successfully!

Ooh no, something went wrong!