VisualGDB SDK Documentation

IExpressionEvaluator.CreateExpression Method

Asks GDB to evaluate a given C/C++ expression and returns an object that can be used to get more information about the expression and its children.

IExpression CreateExpression(
   string exp,
   bool filter
);

Parameters

exp
Specifies the expression to evaluate.
filter
If true, VisualGDB will try to apply the registered expression filters (type visualizers) to the created expression. If false, the result will be provided as returned by GDB.

Return Value

If the evaluation fails, the method returns null. Otherwise it returns an object implementing the IExpression interface that allows querying various information about the expression.

See Also

IExpressionEvaluator Interface | VisualGDBExpressions Namespace