IDebugHostEvaluator2 interface (dbgmodel.h)

The expression evaluator interface to the underlying debugger.

This version 2 of the interface supports all of the previous methods with identical signatures and includes additional new methods that provide added functionality. The new methods are listed in the header at the end of the section for that interface.

Inheritance

IDebugHostEvaluator2 inherits from IDebugHostEvaluator.

Methods

The IDebugHostEvaluator2 interface has these methods.

 
IDebugHostEvaluator2::AddRef

The IDebugHostEvaluator2::AddRef method increments the reference count for an interface on an object.
IDebugHostEvaluator2::AssignTo

The AssignTo method performs assignment according to the semantics of the language being debugged.
IDebugHostEvaluator2::EvaluateExpression

The EvaluateExpression method allows requests the debug host to evaluate a language (e.g C++) expression and return the resulting value of that expression evaluation boxed as an IModelObject.
IDebugHostEvaluator2::EvaluateExtendedExpression

The IDebugHostEvaluator2::EvaluateExtendedExpression method requests an evaluation of a language expression including any additional non-language evaluation.
IDebugHostEvaluator2::QueryInterface

The IDebugHostEvaluator2::QueryInterface method retrieves pointers to the supported interfaces on an object.
IDebugHostEvaluator2::Release

The IDebugHostEvaluator2::Release method decrements the reference count for an interface on an object.

Remarks

One of the most important pieces of functionality which the debug host provides to clients is access to its language based expression evaluator. The IDebugHostEvaluator and IDebugHostEvaluator2 interfaces are the means to access that functionality from the debug host.

Requirements

Requirement Value
Header dbgmodel.h

See also

Debugger Data Model C++ Overview