Everything
2.11.6.1 Registering watch-expressions

There are following three methods to register watch-expressions (By default, no watch-expressions are registered.).

Caution 1.

Up to 128 watch-expressions can be registered in one Watch panel (If an attempt is made to register beyond the upper limit, a message is displayed).

Caution 2.

Because of optimization by a compiler, for blocks where variables, or the subject to be operated on, are not in use, there may be no variable data in the stack and registers. In this case, those unused variables, even when registered as watch-expressions, will have their displayed values marked with "?".

Remark 1.

The respective watch-expressions registered in each Watch panel (Watch1 through Watch4) are managed individually and saved as user information for the project.

Remark 2.

Plural watch-expressions with the same name can be registered.

(1)

To register from other panels

Watch-expressions can be registered from other panels of CS+.

In one of other panels, select the subject you want to register as a watch-expression and drag-and-drop it directly onto any Watch panel (Watch1 through Watch4).

Note that there is certain relationship between the panels that accept this operation and the subjects that can be registered as watch-expressions. For details, see "Table A.5 Relationship between Panels and Subjects Registrable as Watch-expressions".

Figure 2.133

Example for Registering Watch-expressions from Other Panels

Remark

There is an alternative way to register watch-expressions. Select the subject you want to register as a watch-expression, or move the caret to one of the subject character strings (the subject being automatically determined), then select [Register to Watch1] from the context menu (However, this method is usable for only the Watch panel (Watch1)).

(2)

To register directly on the Watch panel

In any Watch panel (Watch1 through Watch4), click the toolbar button and the entry box shown below will be displayed in the [Watch] area.

Figure 2.134

Entry Box for Watch-expressions

 

Enter a watch-expression in the entry box directly from the keyboard and then hit the [Enter] key.

For the input forms of watch-expressions entered this way, see the tables listed below.

Remark

By holding down [Ctrl]+[Space] keys in this text box, you can complete the symbol name at the present caret position (see "2.21.2 Symbol name completion function").

(3)

To register from other applications

Select a C variable, CPU register, I/O register, or assembler symbol character string from an external editor or the like and then drag-and-drop it directly onto the Watch panel (Watch1 through Watch4).

In this case, the character string you've dropped is registered as a watch-expression directly as it is.