An expression is a snippet of code which can be evaluated to produce a result. The context for an expression depends on the particular debug model. Some expressions may need to be evaluated at a specific location in the program so that the variables can be referenced. You can view information about expressions in the Expressions view.
You can inspect expressions from a scrapbook page, a stack frame of a suspended thread, and other places. The Expressions View opens automatically when an item is added to the view. When debugging a C/C++ program, data that contains variables can be expanded to show the variables and the fields of the variables.
| Command |
Name |
Description |
Availability |
 |
Show Type Name |
Configure columns to dispaly type names. |
view action |
 |
Show logic structure |
Show logic structure of the Expressions. |
view action |
 |
Collapse All |
Collapse all the Expressions. |
view action |
 |
Add Watch Expression |
Allows you to add a watch expression. |
Context menu and view action |
 |
Remove |
Removes the currently selected expression(s) from the view. |
Context menu and view action |
 |
Remove All |
Removes all of the expressions from the view. |
Context menu and view action |
| |
Select All |
Selects all of the variables in the view. |
Context menu |
 |
Copy Expressions |
Copies the selected expressions and variables to the system clipboard. |
Context menu |
| |
Find... |
Opens the search dialog to find elements in the variables view. |
Context menu |
| |
Disable |
Disables a currently enabled expression. |
Context menu |
| |
Enable |
Enables a currently disabled expression. |
Context menu |
| |
Edit Watch Expression |
Allows you to edit exsiting watch expression. |
Context menu |
| |
Reevaluate Expression |
Reevaluates the currently selected expression. |
Context menu |
| |
Format |
Select a format type. Choices include: Binary, Decimal, Natural, and Hexadecimal. |
Context menu |