Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

CDT/User/NewIn82

< CDT
Revision as of 16:15, 10 July 2012 by Marc.khouzam.gmail.com (Talk | contribs) (Enhanced Expressions View)

Debug

Enhanced Expressions View

The Expressions view has been enhanced to allow the user to manually create

  • pattern-matched registers groups, e.g.,
$e?x     -- Will show registers starting with 'e' and ending with 'x' with a single character in between
$*       -- Will show all registers
$*x      -- Will show registers ending with 'x'
$st[3-5] -- Will show registers $st3, $st4, $st5
  • comma-separated groups of expressions, e.g,
var1, var2 -- Will create a group containing both var1 and var2 
$eax, var1 -- Will show a group containing register $eax and variable var1
var1, $e*  -- Will show a group containing variable var1 as well as all registers starting with 'e'
  • a group showing local variables
* -- Will show all local variables of the selected stack frame in the Expressions view, as the Variables view does

This feature allows to quickly define multiple expressions that interest the user. Because groups are created from these special expressions, they can be collapsed when uninteresting and re-expanded later, without having to be re-entered by the user.

CDT GroupExpr.png

This feature was completed on July 10th, 2012. For details see Bug 381754. For more details, please refer to the Enhanced Expressions description.

Back to the top