IDataModelScriptDebugStackFrame::Evaluate method (dbgmodel.h)

The Evaluate method evaluates an expression (of the language of the script provider) in the context of the stack frame represented by the IDataModelScriptDebugStackFrame interface on which this method was called. The result of the expression evaluation must be marshaled out of the script provider as an IModelObject. The properties and other constructs on the resulting IModelObject must all be able to be acquired while the debugger is in a break state.

Syntax

HRESULT Evaluate(
  PCWSTR       pwszExpression,
  IModelObject **ppResult
);

Parameters

pwszExpression

An expression (of the language of the script provider) to evaluate in the context of the stack frame represented by the IDataModelScriptDebugStackFrame on which this method was called.

ppResult

The result of the expression evaluation. The script provider construct must be marshaled out to an IModelObject representation and all properties and constructs on that object must be able to be acquired while the debugger is in a break state.

Return value

This method returns HRESULT which indicates success or failure.

Requirements

Requirement Value
Header dbgmodel.h

See also

IDataModelScriptDebugStackFrame interface