Everything
2.9.2 Set a break event to a variable

Set a break event with access condition to a variable on the Variable List panel.

To do this, select the row in which the target variable is displayed (make sure that the current row mark ( ) appears to the left of the selected row), then from the context menu, select one of the following and then press the [Enter] key.

 

-

[Access Break] >> [Set Variable Read Break to]: Sets a break event with read access condition.

-

[Access Break] >> [Set Variable Write Break to]: Sets a break event with write access condition.

-

[Access Break] >> [Set Variable R/W Break to]: Sets a break event with read/write access condition.

 

Note that at this time, you can specify the value in the text box in the context menu.

In this case, execution will only break if it is accessed with the specified value. If you press [Enter] key without entering a value in the text box, then execution will break when the target variable is accessed, regardless of the value.

Figure 2.17

Example of Setting Break Event on Variable

Cautions 1.

This operation is disabled while disconnecting from the debug tool.

Cautions 2.

For combination break events, this function is available only when the combination condition is "OR".

 

A break event set via this operation is managed in the Events panel as an event whose name is "Access break to variable".

Figure 2.18

Example of Setting Break Event (Access Type) in Events Panel

Remark

If there is already a breakpoint set at the corresponding location, the behavior is as follows:

-

If a break event in a valid state is set: No effect

-

If a break event in an invalid state is set: Sets the break event to a valid state