IDebugStackFrame2::GetExpressionContext

Gets an evaluation context for expression evaluation within the current context of a stack frame and thread.

Syntax

int GetExpressionContext ( 
   out IDebugExpressionContext2 ppExprCxt
);

Parameters

ppExprCxt
[out] Returns an IDebugExpressionContext2 object that represents a context for expression evaluation.

Return Value

If successful, returns S_OK; otherwise, returns an error code.

Remarks

Generally, an expression evaluation context can be thought of as a scope for performing expression evaluation. Call the ParseText method to parse an expression and then call the resulting EvaluateSync or EvaluateAsync methods to evaluate the parsed expression.

See also