次の方法で共有


IDebugBinder

This interface binds a symbol field, typically returned by the symbol provider, to a memory context or object that contains the symbol's current value.

IDebugBinder : IUnknown

Notes for Implementers

This interface supports expression evaluation and must be implemented by the debug engine (DE).

Notes for Callers

This interface is used in the process of expression evaluation and is typically used in the implementation of IDebugExpression2::EvaluateSync and IDebugExpression2::EvaluateAsync.

Methods in Vtable Order

The following table shows the methods of IDebugBinder.

Method

Description

IDebugBinder::Bind

Gets the memory context or object that contains the symbol's current value.

IDebugBinder::ResolveRuntimeType

Determines the run-time type of an object.

IDebugBinder::GetMemoryContext

Converts an object location or memory address to a memory context.

IDebugBinder::GetFunctionObject

Gets an IDebugFunctionObject object used to create function parameters.

IDebugBinder::ResolveDynamicType

Gets the exact type for a variable.

Remarks

This interface returns objects that are used by the expression evaluator in parse trees. The expression evaluator parses an expression by using the symbol provider to convert the symbols in the expression to instances of IDebugField, which describe each symbol in terms of its type and location in the source code. The IDebugBinder::Bind method converts IDebugField objects to IDebugObject objects that connect or bind a symbol type to an actual value in memory. These IDebugObject objects are then stored in a parse tree for later evaluation.

Requirements

Header: ee.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See Also

Reference

IDebugExpression2::EvaluateSync

IDebugExpression2::EvaluateAsync

IDebugFunctionObject

Concepts

Expression Evaluation Interfaces