5 data watch break, Data watch break – FUJITSU SOFTUNE F2 MC-16 User Manual

Page 313

Advertising
background image

299

CHAPTER 2 DEPENDENCE FUNCTIONS

2.6.6.5

Data Watch Break

This special break function suspends program execution when the program reaches a
specified instruction address while the value in the specified data address matches with
specified data.

Data Watch Break

This special break function suspends program execution when the program reaches a specified instruction

address while the value in the specified data address matches with specified data. Up to 2 points can be set.

The following message is displayed in the status bar, when a data watch break occurs.

Break at address by breakpoint (data watch)

The break conditions for the data watch break are illustrated in the Figure 2.6-3.

Figure 2.6-3 Break Conditions for Data Watch Break

How to set

Control the data watch break in the following methods:

Data watch break

Command

- SET BREAK/DATAWATCH

Refer to "3.3 SET BREAK(type3)" in "SOFTUNE Workbench Command Reference Manual".

Dialog

- "Code" tab in the breakpoint setting dialog

"Hardware/data watch"

Refer to "4.6.4 Breakpoint" in "SOFTUNE Workbench Operation Manual".

Program flow

Data watch

Specified

address

When data does not match,
no break occurs.

When data matches,
a break occurs.

Data match

instruction

Specified

address

instruction

Advertising