Control Points
Watchpoints
170
Microcontrollers Debugger Manual
Watchpoints
Watchpoints are control points associated with a memory range. Program execution stops
when the memory range defined by the watchpoint has been accessed. The debugger
supports different types of watchpoints:
• Read Access Watchpoints, which are activated when a read access occurs inside the
specified memory range.
• Write Access Watchpoints, which are activated when a write access occurs inside the
specified memory range.
• Read/Write Access Watchpoints, activated when a read or write access occurs inside
the specified memory range.
• Counting Watchpoints, activated after a specified number of accesses occur inside
the memory range.
• Conditional Watchpoints, activated when an access occurs inside the memory range
and a given condition is TRUE.
Watchpoints are controlled through the Controlpoints Configuration Window
(Watchpoints Tab). This window can be opened through the Memory or Data component
window context menu, as described below:
To open the Controlpoints Configuration window with the Watchpoints tab exposed:
1. Position your cursor in either the Memory or Data component window.
2. Press the right mouse button.
3. Select Show Watchpoints from either menu.
4. Click the left mouse button.
The ControlPoints Configuration window appears. The Watchpoints tab of this window is
shown in Figure 4.6.