次の方法で共有


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

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

IDebugStackFrame2

IDebugExpressionContext2

IDebugExpressionContext2::ParseText

IDebugExpression2::EvaluateSync

IDebugExpression2::EvaluateAsync