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.

Figure 193: Expression List<br />

Window With “Change”<br />

Highlighting<br />

Figure 194: Variable Window<br />

Showing Last Value<br />

Column<br />

Viewing a List of Variables<br />

Seeing Variable Value Changes in the Expression List<br />

Window<br />

<strong>TotalView</strong> can tell you when a variable’s value changes in several ways.<br />

� When your program stops at a breakpoint, <strong>TotalView</strong> adds a yellow highlight<br />

to the variable’s value if it has changed. This is shown in Figure 193.<br />

If the thread is stopped for another reason—for example, you’ve stepped<br />

the thread—and the value has changed, <strong>TotalView</strong> does not add yellow<br />

highlighting to the line.<br />

� You can tell <strong>TotalView</strong> to display the Last Value column. Do this by selecting<br />

Last Value in the column menu, which is displayed after you click on<br />

the column menu ( ) icon. (See Figure 194 on page 305.)<br />

Notice that <strong>TotalView</strong> has highlighted all items that have changed within<br />

an array. In a similar fashion it can show the individual items that have<br />

changed within a structure.<br />

Entering Expressions into the Expression Column<br />

The simple answer is just about anything except function calls. (See “Entering<br />

Variables and Expressions” on page 303 for more information.) A variable<br />

is, after all, a type of expression. The following Expression List Window<br />

shows four different types of expressions. (See Figure 195 on page 306.)<br />

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

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

Saved successfully!

Ooh no, something went wrong!