VisualGDB SDK Documentation

IExpressionFilter.Probe Method

Called by VisualGDB to determine whether the current filter can filter the given expression.

bool Probe(
   IExpression expr,
   IExpressionEvaluator evaluator,
   out int score
);

Parameters

expr
Specifies the expression that is being filtered.
evaluator
Provides an interface that allows the filter implementation to evaluate arbitrary expressions.
score
If the filter can handle the given expression, this parameter receives the relative score. If multiple filters want to attach to the same expression, VisualGDB will pick the one with the highest score. The default score returned by the built-in STL expression filters is 100.

Return Value

If the filter can attach to the expression, this method returns true. Otherwise it returns false.

See Also

IExpressionFilter Interface | VisualGDBExpressions Namespace