Everything

Setting an Access Break

Setting an Access Break

You can stop the program when a read, write or read/write operation to a specific variable is carried out. In this example, we make the setting so that the program stops when the value H'80000000 is written to wait. We also measure the time from when the execution of the program starts to when the access break point is reached.

Right-click on the line including "wait" in the Watch panel to select [Access Break] > [Set Write Break to] and enter the value 10.

Cancel the software break which was set in [Setting Break point]. Left-clicking the break mark on the line where the break is set cancels the software break(the break mark disappears and the column becomes empty).

Click the [Restart] button in the menu.

The access break occurs within a few seconds and wait value in the Watch window becomes 0x7ffff.

Since the wait value is count-up about 1 second, execution time of the program should be 1 second. Execution time measured is displayed in the status bar.