The values of watch-expressions can be edited.
Double-click the value of the watch-expression to edit in the [Value] area to switch the value to edit mode (press the [Esc] key to cancel the edit mode).
To write the edited value to the target memory, directly enter the value from the keyboard then press the [Enter] key.
Note that only those values that correspond one by one to variables of C language, CPU registers, I/O register or assembler symbols can be edited. In addition, read-only I/O register values cannot be edited.
This operation can be taken place while the program is in execution. See "2.12.1.4 Display/modify the memory contents during program execution" for details on how to operate it.
If a number with fewer digits than the size of the variable is entered, the higher-order digits will be padded with zeroes. |
If a number with more digits than the size of the variable is entered, the higher-order digits will be masked. |
If the display format of a character array (type char or unsigned char) is set to ASCII, then the value can also be entered as a string (ASCII/Shift-JIS/EUC-JP/Unicode (UTF-8/UTF-16)). |
Entering via an ASCII character |
Entering via a numeric value |