IDebugExpressionEvaluator2

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. 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

Important

In Visual Studio 2015, this way of implementing expression evaluators is deprecated. For information about implementing CLR expression evaluators, please see CLR Expression Evaluators and Managed Expression Evaluator Sample.

Represents an enhanced version of an expression evaluator (EE).

Syntax

IDebugExpressionEvaluator2 : IDebugExpressionEvaluator

Notes for Implementers

This interface is implemented by an expression evaluator.

Methods

In addition to the methods on the IDebugExpressionEvaluator interface, this interface implements the following methods:

Method Description
GetService Retrieves a service object given its unique identifier.
PreloadModules Preloads the modules designated by the specified symbol provider.
SetCallback Enables the expression evaluator (EE) to specify the callback interface the debugger engine (DE) will use to read metric settings.
SetCorPath Sets the path to the common language runtime (CLR) loaded in the debugger.
SetIDebugIDECallback Enables a debug engine to pass a callback to the expression evaluator during initialization.
Terminate Stops and cleans up the expression evaluator.

Requirements

Header: Ee.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll