IDebugStackFrame2::GetExpressionContext
Gets an evaluation context for expression evaluation within the current context of a stack frame and thread.
HRESULT GetExpressionContext (
IDebugExpressionContext2** ppExprCxt
);
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 IDebugExpressionContext2::ParseText method to parse an expression and then call the resulting IDebugExpression2::EvaluateSync or IDebugExpression2::EvaluateAsync methods to evaluate the parsed expression.
See Also
Reference
IDebugExpressionContext2::ParseText