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.

Viewing a List of Variables<br />

Figure 198: The Tools ><br />

Expression List Window<br />

Showing Column Selector<br />

You can use the Window > Update All command to update values in all<br />

other Tools > Expression List Windows.<br />

Reopening Windows: If you close all open Tools > Expression List<br />

Windows and then reopen one, <strong>TotalView</strong> remembers the expressions you<br />

add. That is, if the window contains five variables when you close it, it has<br />

the same five variables when you open it. The thread <strong>TotalView</strong> uses to<br />

evaluate the window’s contents is the Process Window from which you<br />

invoked the Tools > Expressions List command.<br />

Rebinding Windows: The values displayed in an Expression List Window<br />

are the result of evaluating the expression in the thread indicated in<br />

the Threads box at the top of the window. To change the thread in which<br />

<strong>TotalView</strong> evaluates these expressions, you can either type a new thread<br />

value in the Threads box or select a thread from the pulldown list in the<br />

Threads box. (Changing the thread to evaluate expressions in that thread’s<br />

context is called rebinding.)<br />

Restarting a Program: When you restart your program, <strong>TotalView</strong><br />

attempts to rebind the expressions in an Tools > Expression List Window to<br />

the correct thread. Unfortunately, it is not possible to select the right thread<br />

with 100% accuracy. For example, the order in which your operating system<br />

creates threads can differ each time you run your program. Or, program<br />

logic can cause threads to be opened in a different order.<br />

You may need to manually change the thread by using the Threads box at<br />

the top of the window.<br />

Seeing More Information<br />

When you first open the Tools > Expression List Window, it contains two columns,<br />

but <strong>TotalView</strong> can display other columns. If you right-click on a column<br />

heading line, <strong>TotalView</strong> displays a context menu that indicates all possible<br />

columns. Clicking on a heading name listed in the context menu<br />

changes if from displayed to hidden or vice versa.<br />

Even when you add additional columns, the Expression List Window might<br />

not show you what you need to know about a variable. If you dive on a row<br />

308 Chapter 14: Examining and Changing Data

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

Saved successfully!

Ooh no, something went wrong!