Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
In this article
Note
This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here
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
);
ppExprCxt
[out] Returns an IDebugExpressionContext2 object that represents a context for expression evaluation.
If successful, returns S_OK
; otherwise, returns an error code.
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.
IDebugStackFrame2
IDebugExpressionContext2
ParseText
EvaluateSync
EvaluateAsync