
R0E417250MCU00 User
’s Manual
R20UT3587EJ0302 Rev.3.02
Page 56 of 232
Sep.01. 21
3.16 Stopping a Program when It Accesses Memory
To make a program stop when it reads or writes the value of a global variable, follow the procedure below.
Choose Event -> Hardware Break from the View menu to open the Hardware Break dialog box.
Open the OR page of the Hardware Break dialog box. Select a global variable in the Editor window, and drag-and-drop the
selected variable into the OR page so that the program will stop when it reads or writes the value of that variable.
Then click on the Apply button.
The program will stop running when it reads or writes the value of the global variable you have set.
Figure 3.28 Hardware Break dialog box
Notes: (1) To be selectable, a global variable must be represented by 1, 2, or 4 bytes in memory.
(2) Local variables cannot be set as hardware-break conditions.