IJsDebugFrame::Evaluate Method

Evaluate an expression in the context of this stack frame.

Syntax

HRESULT Evaluate(  
   LPCOLESTR pExpressionText,  
   IJsDebugProperty **ppDebugProperty,  
   BSTR *pError  
);  

Parameters

pExpressionText
[in] The expression to evaluate.

ppDebugProperty
[out] Object representing the property browser.

pError
[out] The error message, if an error occurs.

Return Value

Remarks

Returns the following: S_OK: Evaluation succeeds, *ppDebugProperty contains evaluation result. S_FALSE: Evaluation throws an error (or the evaluation operation is not supported), *pError contains the error message.

Requirements

Header: jscript9diag.h

See also

IJsDebugFrame Interface