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.

Changing How Data is Displayed<br />

Figure 168: File > Preferences<br />

Formatting Page<br />

Following pointers in an STL data structure to retrieve values can be timeconsuming.<br />

By default, <strong>TotalView</strong> only follows 500 pointers. You can change<br />

this by altering the value of the TV::ttf_ max_length variable.<br />

Changing Size and Precision<br />

If the defaults formats that <strong>TotalView</strong> uses to display a variable’s value<br />

doesn’t meet your needs, you can use the Formatting Page of the File ><br />

Preferences Dialog Box to indicate how precise you want the simple data<br />

types to be.<br />

After selecting one of the data types listed on the left side of the Formatting<br />

Page, you can set how many character positions a value uses when<br />

<strong>TotalView</strong> displays it (Min Width) and how many numbers to display to the<br />

right of the decimal place (Precision). You can also tell <strong>TotalView</strong> how to<br />

align the value in the Min Width area, and if it should pad numbers with<br />

zeros or spaces.<br />

Although the way in which these controls relate and interrelate may appear<br />

to be complex, the Preview area shows you the result of a change. Play with<br />

the controls for a minute or so to see what each control does. You may<br />

need to set the Min Width value to a larger number than you need it to be<br />

to see the results of a change. For example, if the Min Width value doesn’t<br />

allow a number to be justified, it could appear that nothing is happening.<br />

CLI: You can set these properties from within the CLI. To obtain a list of<br />

variables that you can set, type “dset TV::data_format*”.<br />

282 Chapter 14: Examining and Changing Data

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

Saved successfully!

Ooh no, something went wrong!