>Dave Lippincott" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
>
> Is there any way to get the CWr6 debugger to break on a variable change or
> when a specific memory location changes rather then on a specific line?

fwiw, the Help:Debugger "Set WatchPoint" says it is (see below), but
attempts to do so on NT4 are rebuffed with a "not supported on this
configuration" error message.

----------------------------------------------------------------------------
----------
A watchpoint is a location or region of memory that the debugger guards.
When a new value is written to a particular area of memory, the debugger
suspends execution of the target program and notifies you with an alert.
Variables or memory locations on which a watchpoint has been set are
underlined in red in symbolics, variable, or memory windows.
WARNING  There are some significant restrictions to set watchpoints in
memory. You cannot set a watchpoint on a stack-based local variable, or on a
variable being held in a register. In addition, in Mac OS you cannot set a
watchpoint in low memory or the system heap.

To set a watchpoint from the Data menu:

1. Select a variable from the Variable window.

The variable is highlighted.

For details on viewing variables, see View variables or View local
variables.

2. Choose Set Watchpoint from the Data menu.

A Watchpoints window appears. You will see a red line (dotted line in
Windows) under the selected variable in the Watchpoint Window indicating a
watchpoint has been set for this variable.

NOTE: You can customize the color of the marker indicating a set watchpoint
by choosing Display Settings from the list of preferences panel in the IDE
Preferences window.

To set a watchpoint using drag-and-drop:

1. Select a variable from the Variable window.

For details on viewing variables, see View variables or View local
variables.

2. Choose Watchpoint Window from the Window menu.

A Watchpoint window appears.

3. Drag the highlighted variable from the Variable Window to the Watchpoint
Window.

A red line (dotted line in Windows) appears under the selected variable in
the variable window indicating that a watchpoint has been set.

To set a watchpoint using Memory Window:

1. Choose View Memory from the Debug menu.

2. Select a range of bytes in the memory window.

3. Choose Set Watchpoint from the Debug menu.

A red line (dotted line in Windows) appears under the selected variable in
the Variable Window indicating that a watchpoint has been set.







-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to