更换语言:
Contact Us
Home  › CooCox CoDebugger › CooCox CoDebugger Expressions view

Expressions view

An expression is a snippet of code that 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 the variables contain.

 
 

There are many commands available in the Expressions View:

Command Name Description Availability
  Select All Selects all of the variables in the view. Context menu
Copy Expressions Copy Expressions Copies the selected expressions and variables to the system clipboard. Context menu
Remove All Remove Removes the currently selected expression(s) from the view. Context menu and view action
Remove All Remove All Removes all of the expressions from the view. Context menu and view action
  Find... Opens the search dialog to find elements in the variables view. Context menu
Change Value Change Value... Allows you to change the value for the underlying selected variable. Context menu
Add Watch Expression Add Watch Expression Allows you to add a watch expression. 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 the currently selected expression. Context menu
  Format Select a format type. Choices include: BInary, Decimal, Natural, and hexadecimal. Context menu
  Display As Array Display As Array Context menu

 

Cast To Type Cast To Type Context menu
  Reevaluate Expression Reevaluates the currently selected expression. Context menu
  Restore Original Type Returns the selected expression to the original type. Context menu
© 2010 CooCox - Terms of Use         Business Model         Market             About us