There are following three methods to register watch-expressions (By default, no watch-expressions are registered.).
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). |
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 "?". |
The respective watch-expressions registered in each Watch panel (Watch1 through Watch4) are managed individually and saved as user information for the project. |
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".
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)). |
In any Watch panel (Watch1 through Watch4), click the toolbar button and the entry box shown below will be displayed in the [Watch] area.
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.
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"). |
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.