IExpressionEvaluatorCreateExpression 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.

Definition

Namespace: VisualGDBExpressions
Assembly: VisualGDBExpressions (in VisualGDBExpressions.dll) Version: 5.6.109.1 (5.6.109.4849)
C#
IExpression CreateExpression(
	string exp,
	bool filter = false
)

Parameters

exp  String
Specifies the expression to evaluate.
filter  Boolean  (Optional)
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

IExpression
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