Watch panel


This panel is used to display the contents of the registered watch-expressions and change their values (see "2.11.6 Display/change watch-expressions").

Up to a maximum of four of these panels can be opened. Each panel is identified by the names "Watch1", "Watch2", "Watch3", and "Watch4" on the titlebar, and the watch-expressions can be registered/deleted/moved individually.

Watch-expressions can be registered in this panel as well as in the Editor panel, Disassemble panel, Memory panel, CPU Register panel, Local Variables panel or IOR panel.

When the panel is closed with registered watch-expressions, the panel closes but the information on the registered watch-expressions is retained. Therefore, if the same panel is opened again, it is opened with the watch-expressions registered.

The display contents are automatically updated when the value of the watch-expression changes after a program is executed (when the execution is done in steps, the display is updated after each step).

In addition, by enabling the Real-time display update function, it is also possible to update the display contents in real-time even while a program is being executed.

This panel appears only when connected to the debug tool.

Caution

When the selected microcontroller supports multi-core, this panel displays/changes the value regarding a core (PE) by switching selection between the target cores (see "2.8 Select a Core (PE)").

Remark 1.

This panel can be zoomed in and out by in the tool bar, or by moving the mouse wheel forward or backward while holding down the [Ctrl] key.

Remark 2.

When the separator line of each area in this panel is double-clicked, the width of the area changes to the shortest possible size that can display the contents of the area.

Figure A.14

Watch Panel

 

This section describes the following.

[How to open]

-

From the [View] menu, select [Watch] >> [Watch1 - 4].

[Description of each area]

(1)

[Watch] area

All the registered watch-expressions are displayed in a list.

Clicking the title of the list in this area sorts the watch-expressions in the list in alphabetical order. Categories (folders) can be created to categorize the watch-expressions and display them in the tree view (see "(a) Tree editing").

The meanings of the icons are as follows:

 

Indicates that the watch-expression belonging to this category is displayed. When you double-click on the icon, or click on the "-" mark, the category is closed and the watch-expression is hidden.

 

Indicates that the watch-expression belonging to this category is hidden. When you double-click on the icon, or click on the "+" mark, the category is opened and the watch-expression is displayed.

 

Indicates that the watch-expression is a variable.

At the top of the watch-expression represents arrays, pointer type variables, and structures/unions, "+"/"-" mark is displayed. Click the mark to Expand/shrink display.

 

Indicates that the watch-expression is a function.

 

Indicates that the watch-expression is an immediate value.

 

Indicates that the watch-expression is an expression.

 

Indicates that the watch-expression is I/O register.

 

Indicates that the watch-expression is CPU register.

At the top of the watch-expression that has the lower level register (part of the register), "+"/"-" mark is displayed. Click the mark to Expand/shrink display.

 

This area is provided with the following functions.

(a)

Tree editing

Watch-expressions can be categorized (by folders) and displayed in the tree view.

To create a category, click the button on the toolbar or select [Create Category] from the context menu after moving the caret to the position to create a category, and then input a desired name from the keyboard.

To delete a category, select the category then click the button on the toolbar or select [Delete] from the context menu.

To rename the created category, select the category then do either one of the following.

-

Click the name again, then directly rename the category name.

-

Select the [Edit] menu >> [Rename], then directly rename the category name.

-

Press the [F2] key, then directly rename the category name.

 

By directly dragging and dropping the registered watch-expression in the created category, each category is displayed in the categorized tree view. Also, the display order of the categories and the watch-expressions (upper or lower position) can be changed easily by drag and drop operation.

Caution 1.

Categories cannot be created within categories.

Caution 2.

Up to 1500 categories can be created in one watch panel (if this restriction is violated, a message appears).

Remark

Drag and drop the watch-expressions/categories in other watch panel (Watch1 to Watch4) to copy them.

(b)

Expand/shrink display

At the top of the watch-expression represents arrays, pointer type variables, structures/unions, and registers (with the name of the part), "+"/"-" mark is displayed. Click the mark to expand the contents ("+" mark is changed to "-" after the expansion).

Watch-Expression

Contents When Expanded

Array

All elements in the array

Select [Encoding] >> [ASCII] from the context menu to display the value as a string (up to 256 characters). Note, however, that any characters that cannot be displayed in the encoding will be shown as periods "." or "?".

Pointer type variable

Variables that the pointer designates

Structure/Union

All the member of structure/union

Register

Name of the bit/bit string that constructs register

Example) ECR register

FECC register

EICC register

(c)

Registering new watch-expression

There are following three methods of registering a new watch expression.

<1>

Register from other panels

Do either one of the following to register watch-expressions in other panels.

-

Drag and drop the target character string onto this area in the desired watch panel (Watch1 to Watch4).

-

Select [Register to Watch1] from the context menu after selecting the target character string or place the caret on either of the target character string (the target is automatically determined).

-

Select the [Edit] menu >> [Paste] in this area in the desired watch panel (Watch1 to Watch4) after selecting the [Edit] menu >> [Copy] for the target character string.

 

The relationship between panels that can use this operation and targets that can be registered as watch-expressions is as follows:

Table A.2

Relationship between Panels and Targets That Can be Registered as Watch-Expressions

Panel Name

Targets That can be Registered as Watch-Expressions

Editor panel

Variable names of C language, CPU registers, I/O registers, and assembler symbols

Disassemble panel

Variable names of C language, CPU registers, I/O registers, and assembler symbols

CPU Register panel

CPU registersNote

Local Variables panel

Variable names of C language (local variables)

IOR panel

I/O registersNote

Note

The scope-specification is automatically added to the registered watch-expression.

<2>

Directly register in the Watch panel

Click the button on the toolbar or select [Add New Watch] from the context menu in the desired watch panel (Watch1 to Watch4) to display an entry box for a new watch-expression in the bottom of this area.

Directly input a watch-expression from the keyboard in the [Watch] area in the entry box then press the [Enter] key.

For details on the input format of the watch-expression, see "(b) Watch-expression and operator".

 

Watch-expressions can be registered with specifying the scope. The scope specifications with watch-expression registration are as follows:

Caution 1.

If a load module name or file name contains a space or one of the following symbols, enclose the name in double-quotes (" ").
$, #, (, ), [, ], &, ^,~ , %, +, - *, /, :, ?, ', |, \, <, >, !
Example: "c:\folder\prog.abs" $file.c#func

Caution 2.

If functions with the same name exist, write the type of parameter expressly. Example: func(int, int)

Table A.3

Handling of a C Language Function When Registered in Watch by Specifying Scope

Scope Specification

Load Module File Name

Source File Name

Function Name

Subject to be searched

prog$file#func

prog

file

func

Static functions

prog$func

prog

Global

func

Global functions

file#func

Current

file

func

Static functions

func

Current

Current

func

AllNote

Note

A search is made for static functions and global functions from the scope of the current PC value in that order. Static functions out of scope are not searched for.

Table A.4

Handling of a C Language Variable When Registered in Watch by Specifying Scope

Scope Specification

Load Module File Name

Source File Name

Function Name

Variable Name

Subject to be searched

prog$file#func#var

prog

file

func

var

Static variables inside a static functionNote 1

prog$file#var

prog

file

Global

var

Static variables inside a file

prog$var

prog

Global

Global

var

Global variables

file#func#var

Current

file

func

var

Static variables inside a static functionNote 1

file#var

Current

file

Global

var

Static variables inside a file

var

Current

Current

Current

var

AllNote 2

Note 1.

If the current PC value exists in a specified function, the local variables that are not declared as static also comprise the subject to be searched.

Note 2.

A search is made for local variables, static variables inside a file and global variables from the scope of the current PC value in that order. The local variables and the static variables inside a file that are out of scope are not searched for.

Table A.5

Handling of a CPU Register When Registered in Watch by Specifying Scope

Scope Specification

System Register

Name of CPU Register

r10:REG

(None)

r10

name:SR0102Note

regID1, selID2

name

Note

Specify regID and selID as decimal values to register the system registers. For values of regID and selID, refer to the hardware manual for the device. In this table, specify the desired character string for "name" in [Name of CPU Register].

Table A.6

Handling of an I/O Register when Registered in Watch by Specifying Scope

Scope Specification

Name of I/O register

P0:IOR

P0

P0

P0

Remark 1.

A symbol name at the current caret position can be complemented by pressing the [Ctrl] + [Space] key in this area (see "2.20.2 Symbol name completion function").

Remark 2.

An immediate value is treated as an address. Note, however, that an immediate value with operators cannot be used.

Remark 3.

An arithmetic expression with symbols cannot be used for a watch-expression.

Remark 4.

If the same name exists either in C language variables, CPU registers or I/O registers, and it is registered without specifying scopes, then its value will be displayed after the symbol is determined in the following order.
Variable of C language > CPU registers > I/O register
If "$" is specified at the top of a watch-expression, then its value will be displayed after the symbol is determined in the following order.
CPU registers > I/O register > Variable of C language


Remark 5.

If a local variable and a global variable exist with the same name, and its symbol name is registered without specifying scopes, then its value will be displayed after the symbol is determined based on the scope of the current PC value.

Remark 6.

If the letter "I" alone is specified as a watch-expression, it is interpreted as an imaginary keyword. To acquire the value of a register "I," add ":REG" after the register.

Remark 7.

When watch-expressions are registered from the IOR panel or the CPU Register panel, the scope specification is automatically added.

<3>

Register from other application

Select a character string of a variable of C language, CPU register, I/O register or assembler symbol from a external editor then do either one of the following.

-

Drag and drop the target character string in this area in the desired watch panel (Watch1 to Watch4).

-

Select the [Edit] menu >> [Paste] in this area in the desired watch panel (Watch1 to Watch4) after copying the target character string.

Caution 1.

Up to 3000 watch-expressions can be registered in one watch panel (if this restriction is violated, a message appears).

Caution 2.

Due to compiler optimization, the data for the target variable may not be on the stack or in a register in blocks where that variable is not used. In this case, the target watch-expression value is displayed as "?".

Remark 1.

Each watch-expression registered in each watch panel (Watch1 to Watch4) is managed in each panel and saved as the user information of the project.

Remark 2.

More than one watch-expression with the same name can be registered.

Remark 3.

You can export registered watch-expressions to a file and import it so that the watch-expressions can be re-registered (see "2.11.6.8 Export/import watch-expressions").

(d)

Editing watch-expression

To edit the registered watch-expression, double-click the watch-expression to be edited to change the watch-expression to edit mode then directly edit from the keyboard (press the [Esc] key to cancel the edit mode).

After editing the watch-expression, press the [Enter] key to complete the editing.

(e)

Deleting watch-expression

To delete the registered watch-expression, select the watch-expression(s) to be deleted then click the button on the toolbar or select [Delete] from the context menu.

(f)

Setting of various events

Various events can be set to the selected watch-expression by selecting [Access Break], [Trace Output] or [Performance Measurement] from the context menu.

If an access event is set, the mark of the watch-expression is changed (the event mark of a break event, Trace event or Performance Measurement event is displayed under the icon of the watch-expression in layers).

When an event is set, the detailed information about the set event is reflected in the Events panel.

Note that events are only set to the watch-expressions that are global variables, static variables inside functions, or file-internal static variables.

See the following for details on how to set events.

(g)

Jump to the address with memory definition

By selecting [Jump to Memory] from the context menu, the Memory panel (Memory1) opens with moving the caret to the address in which the selected watch-expression is defined (if the Memory panel (Memory1) is already open, the screen will jump to the panel).

Note that this operation is disabled when more than one watch-expression is selected at the same time or the CPU register/I/O register is selected.

(2)

[Value] area

The value of the registered watch-expression is displayed and changed (if the watch-expression is a function pointer, the function name is displayed in this area).

Notations and encodes can be selected by the button on the toolbar or the context menu item. In addition, a display format adding the value in hexadecimal number constantly can also be selected as well.

The default display format of the values is automatically decided depending on the type of the watch-expression.

Table A.7

Display Format of Watch-Expressions (Default)

Type of Watch-Expression

Display Format

char, signed char, unsigned char

ASCII code with hexadecimal number

short, signed short, short int, signed short int, int, signed, signed int, long, signed long, long int, signed long int

Signed decimal number with hexadecimal number

unsigned short, unsigned short int, unsigned, unsigned int, unsigned long, unsigned long int

Unsigned decimal number with hexadecimal number

float

Float (when the size is 4-byte) with hexadecimal number

double, long double

Double (when the size is 8-byte) with hexadecimal number

Pointers to char, signed char, unsigned char

Characters

Encoding: ASCII

Pointers to other than char, signed char, unsigned char

Hexadecimal number

Arrays of char, signed char, unsigned char types

Characters

Encoding: ASCII

bit, boolean, _boolean

Unsigned decimal number with hexadecimal number

Enumeration type

Enumeration constant value with hexadecimal number

Label, address of immediate value, EQU symbol

Signed decimal number with hexadecimal number

bit symbol

Unsigned decimal number with hexadecimal number

Others

Hexadecimal number

 

The meanings of the marks and colors displayed as the values of watch-expressions are as follows (character colors and background colors depend on the configuration in the [General - Font and Color] category of the Option dialog box):

Display Example (Default)

Description

 

Character color

Blue

The value of the watch-expression that the user is changing
Press the [Enter] key to write to the target memory.

Background color

Standard color

 

Character color

Pink

The value of the watch-expression that is displayed with the Real-time display update function

Background color

Standard color

 

Character color

Brown

The value of the watch-expression that has been changed because of the execution of a program

To reset the highlighting, select the button on the toolbar or [Reset Color] from the context menu.

Background color

Cream

 

Character color

Gray

Variable that does not exist is registered as a watch-expression or the value of the watch-expression cannot be retrieved (i.g. when the I/O register is read-protectedNote, or a variable is out of the scope, etc.)

Background color

Standard color

Note

The I/O register that cause the microcontroller to operate when it is read is read-protected and therefore cannot be read ("?" is displayed in the value).
To read out the value of a read-protected I/O register, select [Force Read Value] from the context menu. Reading of each register is allowed only once.

Remark 1.

Each watch-expression acquires the value in the order it was registered.
As the timing to acquire a value is different, the values displayed may be different if the same I/O register is registered more than once.

Remark 2.

When a hexadecimal value is also given, then values in the specified notation and hexadecimal values are read separately. For this reason, the values with the specified notion and the hexadecimal values may differ due to the time lag between being read.

 

This area is provided with the following functions.

(a)

Real-time display update function

Using the real-time display update function allows you to display/modify the value of the watch-expression not only while the program is stopped, but also in execution.

See "2.11.1.4 Display/modify the memory contents during program execution" for details on the real-time display update function.

(b)

Changing values of watch-expressions

To edit the value of the watch-expression, change the value directly from the keyboard after double-clicking on the value to be edited (press the [Esc] key to cancel the edit mode).

After you edit the value of the watch-expression, it is written to the target memory of the debug tool by pressing the [Enter] key, or moving the focus to outside the edit region.

See "2.11.6.6 Modify the contents of watch-expressions" for detail on how to change values of watch-expressions.

(c)

Saving the contents of watch-expressions

By selecting the [File] menu >> [Save Watch Data As...], the Save As dialog box can be opened, and all the contents of this panel can be saved in a text file (*.txt) or CSV file (*.csv).

By selecting [Save Expanded Watch Data…] from the context menu, the Save As dialog box can be opened, and the selected contents of watch-expressions can be saved in a text file (*.txt) or CSV file (*.csv).

See "2.11.6.9 Save the contents of watch-expressions" for details on the method for saving the contents of watch-expressions.

(3)

[Type (Byte Size)] area

The type information of watch-expressions with the following format is displayed.

Watch-Expression

Display Format

Single CPU register

<Types of CPU register> (<SizeNote 1>)

Single I/O register

<I/O register type> (<Access attribute> <Accessible sizes><SizeNote 1>)

Access attribute

R: Read only

W: Write only

R/W: Read/Write only

Accessible sizes

All accessible sizes are demarcated by a comma and listed in order of the smallest size in bit units (1 to 32 bits).

Unknown

?

Others

<Watch-expression type that follow the C compiler's determinationNote 2> (<SizeNote 1>)

Note 1.

The size of the watch-expression is displayed in bytes.
However, for bit I/O register or C language bit field, the size is displayed in bits and "bits" is added to the end of the number.

Note 2.

Types to be treated are displayed when compiling the watch-expression.

(4)

[Address] area

The address that each watch-expression is mapped is displayed (hexadecimal number notation fixing).

If the watch-expression is single CPU register or is unknown, "-" or "?" is displayed instead.

Remark

If the watch-expression is the bit I/O register, the bit-offset value is also displayed as follows:

Example

When the bit register is allocated to bit 4 of the address "0xFF40":
Display example: 0xFF40.4

(5)

[Memo] area

The user can write comments for the watch-expressions/categories.

Each comment for a watch-expression/category written in this area is saved individually as the user information of the project. Therefore, when any of the watch-expression/category is deleted, the comment corresponding to it is also deleted.

Note that when arrays or register are displayed expanded, the comment cannot be input for each element.

To edit the comment, input the character strings directly from the keyboard after double-clicking on the item to be edited (press the [Esc] key to cancel the edit mode). Up to 256 character strings can be input (line feed code is ignored). After editing the character strings, complete the editing by pressing the [Enter] key or moving the focus to outside the edit region.

[Toolbar]

 

Reacquires all the values of the registered watch-expression and updates the display.

Note that read-protected I/O register values are not re-read.

 

Resets highlighting of the selected watch-expression whose value has been changed by executing a program.

This item is disabled during execution of a program.

 

Registers a new watch-expression.

Directly input the watch-expression in the text box (see "(c) Registering new watch-expression")

Note that up to 3000 watch-expressions can be registered in one watch panel.

 

Adds a new category (folder).

Directly input the category name in the text box.

Note that up to 1500 categories can be created in one watch panel (categories cannot be created in categories).

 

Deletes the selected character string(s).

If the watch-expression(s)/category(s) are selected, deletes them (except when the expanded item of the watch-expression is selected).

Notation

The following buttons to change the notation of a data value are displayed.

 

AutoSelect

Displays the value of the selected watch-expression in the default notation (see "Table A.7 Display Format of Watch-Expressions (Default)") according to the type of variable (default).

Hexadecimal

Displays the value of the selected item in hexadecimal number.

Signed Decimal

Displays the value of the selected item in signed decimal number.

Unsigned Decimal

Displays the value of the selected item in unsigned decimal number.

Octal

Displays the value of the selected item in octal number.

Binary

Displays the value of the selected item in binary number.

ASCII

Displays the value of the selected item in ASCII code.

Float

Displays the value of the selected item in float.

Note that this item becomes valid only when the selected watch-expression value is 4-byte data.

Double

Displays the value of the selected item in double.

Note that this item becomes valid only when the selected watch-expression value is 8-byte data.

 

Adds the value in hexadecimal number enclosing with "()" at the end of the value of the selected item (except the item displayed in hexadecimal number).

[[File] menu (Watch panel-dedicated items)]

The following items are exclusive for the [File] menu in the Watch panel (other items are common to all the panels).

Note that all these items are disabled during execution of a program.

Save Watch Data

Overwrites the contents of this panel to the previously saved text file (*.txt)/CSV file (*.csv) (see "(c) Saving the contents of watch-expressions").

Note that when the file has never been saved or the file is write disabled, the same operation is applied as the selection in [Save Watch Data As...].

Save Watch Data As...

Opens the Save As dialog box to newly save the contents of this panel to the specified text file (*.txt)/CSV file (*.csv) (see "(c) Saving the contents of watch-expressions").

[[Edit] menu (Watch panel-dedicated items)]

The following items are exclusive for [Edit] menu in the Watch panel (all other items are disabled).

Cut

Deletes the selected character string(s) and copies them to the clipboard.

If the watch-expression(s)/category(s) are selected, deletes them (except when the expanded item of the watch-expression is selected).

Copy

Copies the contents of the selected range to the clipboard as character string(s).

If the watch-expression(s)/category(s) are selected, copies them to the clipboard (except when the expanded item of the watch-expression is selected).

Paste

If texts are in editing, pastes the contents of the clipboard to the caret position.

If texts are not in editing and the watch-expression(s) are copied in the clipboard, registers them to the caret position.

Delete

Deletes the selected character string(s).

If the watch-expression(s)/category(s) are selected, deletes them (except when the expanded item of the watch-expression is selected).

Select All

If texts are in editing, selects all the character strings.

If texts are not in editing, selects all the watch-expressions/categories.

Rename

Renames the selected watch-expression/category.

Find...

Opens the Find and Replace dialog box with selecting the [Find in Files] tab.

Replace...

Opens the Find and Replace dialog box with selecting the [Replace in Files] tab.

[Context menu]

Access Break

 

This item becomes valid only when the selected watch-expression is the global variable, the static variable inside functions, the file-internal static variable, or I/O register (multiple selections not allowed).

The following cascade menus are displayed to set the access break event (see "2.10.5.1 Set a break event (access type)").

 

Set Read Break to

Sets a break event with read access condition to the selected watch-expression.

Set Write Break to

Sets a break event with write access condition to the selected watch-expression.

Set R/W Break to

Sets a break event with read/write access condition to the selected watch-expression.

Trace Output

This item becomes valid only when the selected watch-expression is a global variable, static variable inside functions, file-internal static variable, or I/O register (multiple selections not allowed).

The following cascade menus are displayed to set the trace-related event (see "2.13.4.1 Set a Point Trace event").

 

Record Reading Value

Sets a Point Trace event to record the values in the trace memory when the selected watch-expression is accessed for read.

Record Writing Value

Sets a Point Trace event to record the values in the trace memory when the selected watch-expression is accessed for write.

Record R/W Value

Sets a Point Trace event to record the values in the trace memory when the selected watch-expression is accessed for read/write.

Record Start R/W Value

[E1][E20]

Sets a trace start event to start collecting the trace data when the selected watch-expression is accessed for read/write.

Record End R/W Value

[E1][E20]

Sets a trace end event to stop collecting the trace data when the selected watch-expression is accessed for read/write.

Trace

Opens the Trace panel and displays the acquired trace data.

Performance Measurement Settings [Full-spec emulator] [E1/E20]

This item becomes valid only when the selected watch-expression is a global variable, static variable inside functions, file-internal static variable, or I/O register (multiple selections not allowed).

The following cascade menus are displayed to set the performance measurement-related event.

 

Set Performance Measurement Start Read Value

Sets a performance measurement start event that causes performance measurement to start in response to reading of the selected watch-expression.

 

Set Performance Measurement n

Specify a channel n (n: 1 to 3) in which a performance measurement start event is set.

Set Performance Measurement End Read Value

Sets a performance measurement end event that causes performance measurement to stop in response to reading of the selected watch-expression.

 

Set Performance Measurement n

Specify a channel n (n: 1 to 3) in which a performance measurement end event is set.

Set Performance Measurement Start Write Value

Sets a performance measurement start event that causes performance measurement to start in response to writing of the selected watch-expression.

 

Set Performance Measurement n

Specify a channel n (n: 1 to 3) in which a performance measurement start event is set.

Set Performance Measurement End Write Value

Sets a performance measurement end event that causes performance measurement to stop in response to writing of the selected watch-expression.

 

Set Performance Measurement n

Specify a channel n (n: 1 to 3) in which a performance measurement end event is set.

Set Performance Measurement Start R/W Value

Sets a performance measurement start event that causes performance measurement to start in response to reading/writing of the selected watch-expression.

 

Set Performance Measurement n

Specify a channel n (n: 1 to 3) in which a performance measurement start event is set.

Set Performance Measurement End R/W Value

Sets a performance measurement end event that causes performance measurement to stop in response to reading/writing of the selected watch-expression.

 

Set Performance Measurement n

Specify a channel n (n: 1 to 3) in which a performance measurement end event is set.

Periodic Updating

The following cascade menus are displayed to set for the real-time display update function (see "(a) Real-time display update function").

 

Periodic Updating Options

Opens the Property panel to set for the real-time display update function.

Refresh

Reacquires all the values of the registered watch-expression and updates the display.

Note that the values of read-protected I/O register are not re-read.

Force Read Value

Forcibly reads once the values of the read-protected I/O register.

This item is disabled during execution of a program.

Add New Watch

Registers a new watch-expression. Directly input the watch-expression in the text box (see "(c) Registering new watch-expression")

Note that up to 3000 watch-expressions can be registered in one watch panel.

Create Category

Adds a new category (folder). Directly input the category name in the text box.

Note that up to 1500 categories can be created in one watch panel (categories cannot be created in categories).

Delete

Deletes the selected character string(s).

If the watch-expression(s)/category(s) are selected, deletes them (except when the expanded item of the watch-expression is selected).

Cut

Deletes the selected character string(s) and copies them to the clipboard.

If the watch-expression(s)/category(s) are selected, deletes them (except when the expanded item of the watch-expression is selected).

Copy

Copies the contents of the selected range to the clipboard as character string(s).

If the watch-expression(s)/category(s) are selected, copies them to the clipboard (except when the expanded item of the watch-expression is selected).

Paste

If texts are in editing, pastes the contents of the clipboard to the caret position.

If texts are not in editing and the watch-expression(s) are copied in the clipboard, registers them to the caret position.

Rename

Renames the selected watch-expression/category.

Import Watch Expression...

Opens the Open Watch Expression Data File dialog box to import watch-expressions (see "2.11.6.8 Export/import watch-expressions").

Notation

The following cascade menus are displayed to specify the notation.

 

AutoSelect

Displays the value of the selected watch-expression in the default notation (see "Table A.7 Display Format of Watch-Expressions (Default)") according to the type of variable (default).

Hexadecimal number

Displays the value of the selected item in hexadecimal number.

Signed Decimal

Displays the value of the selected item in signed decimal number.

Unsigned decimal number

Displays the value of the selected item in unsigned decimal number.

Octal

Displays the value of the selected item in octal number.

Binary

Displays the value of the selected item in binary number.

ASCII

Displays the value of the selected item in ASCII code.

Include Hexadecimal Value

Adds the value in hexadecimal number enclosing with "()" at the end of the value of the selected item (except the item displayed in hexadecimal number).

Float

Displays the value of the selected item in float.

Note that when the selected watch-expression value is not 4-byte data, or has the type information, displays it in the default notation (see "Table A.7 Display Format of Watch-Expressions (Default)").

Double

Displays the value of the selected item in double.

Note that when the selected watch-expression value is not 8-byte data, or has the type information, displays it in the default notation (see "Table A.7 Display Format of Watch-Expressions (Default)").

Decimal Notation for Array Index

Displays array indexes on this panel in decimal number (default).

Hexadecimal Notation for Array Index

Displays array indexes on this panel in hexadecimal number.

Encoding

The following cascade menus are displayed to specify the character code.

 

ASCII

Displays the value of the selected item in ASCII code (default).

Shift_JIS

Displays the value of the selected item in Shift-JIS code.

EUC-JP

Displays the value of the selected item in EUC-JP code.

UTF-8

Displays the value of the selected item in UTF-8 code.

UTF-16

Displays the value of the selected item in UTF-16 code.

Size Notation

The following cascade menus are displayed to specify the size notation.

 

1 Bytes

Displays the value of the selected item as 8-bit data.

2 Bytes

Displays the value of the selected item as 16-bit data.

4 Bytes

Displays the value of the selected item as 32-bit data.

8 Bytes

Displays the value of the selected item as 64-bit data.

Jump to Memory

Opens the Memory panel (Memory1) and jumps to the address which the selected watch-expression is defined (see "(g) Jump to the address with memory definition").

Reset Color

Resets highlighting of the selected watch-expression whose value has been changed by executing a program.

This item is disabled during execution of a program.

Save Expanded Watch Data…

Opens the Save As dialog box to newly save the selected contents of watch-expressions to the specified text file (*.txt)/CSV file (*.csv) (see "(c) Saving the contents of watch-expressions").