TOC PREV NEXT INDEX DOC LIST MASTER INDEX




Debug > Watch Data

The Debug > Watch Data command sets a watchpoint. A watchpoint is a breakpoint attached to a memory location. If an invalid entry is selected, an error message is displayed in the Command Log area.

On some targets, watchpoints provide an interface to special debugging hardware.

Watchpoints can be viewed and deleted in the same manner as normal breakpoints.

If Debug > Watch Data is selected, the watchpoint is set at the highlighted item. If Debug > Watch Data... is selected, the Watch Data dialog box is displayed.

In the Data field, enter the name of the variable at which the watchpoint is to be set.

Command Line Interface: bw


Caution: The watchpoint mechanism takes advantage of hardware or software support when it is available on the target. If this support is not available, the debugger uses single stepping to watch objects. If single stepping is used, watchpoint execution will be slow. At the current time, watchpoints will be slow on all targets except SGI, Intel x86, and PowerPC.



Rational Software Corporation 
http://www.rational.com
support@rational.com
techpubs@rational.com
Copyright © 1993-2001, Rational Software Corporation. All rights reserved.
TOC PREV NEXT INDEX DOC LIST MASTER INDEX TECHNOTES APEX TIPS