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 191: A Context Menu<br />

Figure 192: Expression List<br />

Window Context Menu<br />

You can bring up this window directly by using the Tools > Expression List<br />

command.<br />

When you enter information in the Tools > Expression List Window, where<br />

you place the cursor and what you select make a difference. If you click on<br />

a variable or select a row in the Variable Window, <strong>TotalView</strong> adds that variable<br />

to the Expression List Window. If you instead select text, <strong>TotalView</strong><br />

adds that text. What’s the difference? The Expression List figure in the previous<br />

section shows three variations of d1_array, and each was obtained in<br />

a different way, as follows:<br />

� The first entry was added by just selecting part of what was displayed in<br />

the Source Pane.<br />

� The second entry was added by selecting a row in the Variable Window.<br />

� The third entry was added by clicking at a random point in the variable’s<br />

text in the Source Pane.<br />

You can tell <strong>TotalView</strong> to look for a variable in the scope that exists when<br />

your program stops executing, rather than keeping it locked to the scope<br />

from which it was added to the Tools > Expression List Window. Do this by<br />

right-clicking an item, then selecting Compilation Scope > Floating from<br />

the context menu.<br />

For more information, see “Viewing Variables in Different Scopes as Program Executes”<br />

on page 288.<br />

304 Chapter 14: Examining and Changing Data

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

Saved successfully!

Ooh no, something went wrong!