Control Points
Setting Watchpoints
176
Microcontrollers Debugger Manual
Using the Left Mouse Button and Pressing the B Key:
1. Point at a variable in the Data window, hold down the left mouse button and press the
B key.
2. A read/write access watchpoint is defined for the selected variable.
Once a read/write access watchpoint has been defined, you can continue program
execution. The application stops after the next read or write access on the variable. Read/
write access watchpoints remain active until they are disabled or deleted.
Defining a Counting Watchpoint
A counter can be associated with any type of watchpoint (read, write, read/write).
The Debugger provides two ways to define a counting watchpoint:
Using the Data Context Menu:
1. Point at a variable in the Data window and right-click. The Data Context Menu is
displayed.
2. Choose
Set Watchpoint
from the Context Menu. A Read/Write Watchpoint is
defined.
3. Point in the Data Component Window and right-click. The Source Context Menu is
displayed.
4. Choose
Show WatchPoints
from the Context Menu. The Controlpoints Configuration
window Watchpoints tab is displayed.
5. Select the watchpoint you want to define as a counting watchpoint.
6. From the list menu, select the type of access you want to track.
7. In the interval field, specify the interval count for the watchpoint.
8. Close the window by clicking
OK
. A counting watchpoint is defined for the selected
variable.
Using the Left Mouse Button and Pressing the S Key:
1. Point at a variable in the Data window, hold down the left mouse button and press the
S key. The Watchpoints tab of the Controlpoints Configuration window is displayed.
2. Select the watchpoint you want to define as a counting watchpoint from the list.
3. From the list menu, select the type of access you want to track.
4. In the interval field, specify the interval count for the watchpoint. Close the window by
clicking
OK
. A counting watchpoint is defined for the selected variable.
If you continue program execution, the
Current
field is decremented each time an
appropriate access on the variable is detected. When
Current
is equal to 0, the application
Summary of Contents for Microcontrollers
Page 1: ...Microcontrollers Debugger Manual Revised 22 October 2007 ...
Page 20: ...Table of Contents 20 Microcontrollers Debugger Manual ...
Page 24: ...Book I Contents 24 Microcontrollers Debugger Manual ...
Page 60: ...Debugger Interface Highlights of the User Interface 60 Microcontrollers Debugger Manual ...
Page 156: ...Debugger Components Visualization Utilities 156 Microcontrollers Debugger Manual ...
Page 198: ...Real Time Kernel Awareness OSEK Kernel Awareness 198 Microcontrollers Debugger Manual ...
Page 236: ...Synchronized Debugging Through DA C IDE Troubleshooting 236 Microcontrollers Debugger Manual ...
Page 238: ...Book II Contents 238 Microcontrollers Debugger Manual ...
Page 332: ...HC08 Full Chip Simulation Configuration Procedure 332 Microcontrollers Debugger Manual ...
Page 348: ...MON08 Interface Connection Device Class Description 348 Microcontrollers Debugger Manual ...
Page 364: ...ICS MON08 Interface Connection Device Class Description 364 Microcontrollers Debugger Manual ...
Page 428: ...HC08 FSICEBASE Emulator Bus State Analyzer BSA 428 Microcontrollers Debugger Manual ...
Page 430: ...Book III Contents 430 Microcontrollers Debugger Manual ...
Page 466: ...HCS08 Full Chip Simulation Peripheral Modules Commands 466 Microcontrollers Debugger Manual ...
Page 544: ...HCS08 On Chip DBG Module HCS08 DBG V3 New Features 544 Microcontrollers Debugger Manual ...
Page 546: ...Book IV Contents 546 Microcontrollers Debugger Manual ...
Page 576: ...Book V Contents 576 Microcontrollers Debugger Manual ...
Page 698: ...Book VI Contents 698 Microcontrollers Debugger Manual ...
Page 714: ...Flash Programming NVMC Commands 714 Microcontrollers Debugger Manual ...
Page 730: ...Book VII Contents 730 Microcontrollers Debugger Manual ...
Page 840: ...Book VIII Contents 840 Microcontrollers Debugger Manual ...
Page 864: ...Book IX Contents 864 Microcontrollers Debugger Manual ...
Page 868: ...Legacy Target Interfaces Removed 868 Microcontrollers Debugger Manual ...