User manual

UM0036 Basic debugging features
Doc ID 7705 Rev 11 187/385
Figure 131. Inserting write data breakpoint
Note: Only read data breakpoints can be inserted this way for the Simulator and DVP versions.
5.9.2 Using the Data Breakpoints window
You can track and control your data breakpoints using the Data Breakpoint window. To
open this window, from the main menu, select View>Data Breakpoints.
The data breakpoints window shows:
A list of the variables for which a breakpoint has been assigned.
The lettered red dot identifies whether the data breakpoint is a read data breakpoint
(“R”) or a write data breakpoint, (“W”). For the EMU2 emulator version, where there is
no distinction between read and write data breakpoints, all data breakpoints show a
read dot with "RW".
The Counter field allows you to enter the number of times that the variable is accessed
before the run is halted. In the example shown in Figure 133, the application will be
halted once the variable RR200L has been read 5 times. In the EMU2 emulator
example shown in Figure 132, the application run will be halted once the variable
RR200L has been read or written to 5 times.
The Condition field allows you to enter a specific value of the variable as the condition
upon which the application will be halted. In the example shown in Figure 133, when
the value 256 is written to st0, the application is halted. In the example shown in
Figure 132, if st0 has a value of 256, the application is halted.