Creating Watchpoints
Watchpoints are created by selecting Tools > Watchpoint from within a Variable Window (If your platform does not support data watchpoints, this menu item is dimmed.)
After selecting this command. TotalView displays the following dialog box:
Tools > Watchpoint Dialog Boxes
|
Using this dialog box, you can create an unconditional or conditional watchpoint. The watchpoint you will set is set for the entire variable, not just for an element of it. For example, when you invoke this dialog box, the Address field is set to the variable's location in memory. If you want to look at only one element of a structure or an array, simply dive on the element in the Variable Window before setting the watchpoint.
For information on the fields in this dialog box, see the online help.