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.

Using Watchpoints<br />

Figure 237: Tools ><br />

Watchpoint Dialog Boxes<br />

After you select a Create Watchpoint command, <strong>TotalView</strong> displays its<br />

Watchpoint Properties dialog box. See Figure 237.<br />

Controls in this dialog box let you create unconditional and conditional<br />

watchpoints. When you set a watchpoint, you are setting it on the complete<br />

contents of the information being displayed in the Variable Window.<br />

For example, if the Variable Window displays an array, you can only set a<br />

watchpoint on the entire array (or as many bytes as <strong>TotalView</strong> can watch.) If<br />

you only want to watch one array element, dive on the element and then<br />

set the watchpoint. Similarly, if the Variable Window displays a structure<br />

and you only want to watch one element, dive on the element before you<br />

set the watchpoint.<br />

See the online Help for information on the fields in this dialog box.<br />

Displaying Watchpoints<br />

The watchpoint entry, indicated by UDWP (Unconditional Data Watchpoint)<br />

and CDWP (Conditional Data Watchpoint), displays the action point ID, the<br />

amount of memory being watched, and the location being watched.<br />

If you select a watchpoint, <strong>TotalView</strong> toggles the enabled/disabled state of<br />

the watchpoint.<br />

376 Chapter 16: Setting Action Points

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

Saved successfully!

Ooh no, something went wrong!