IDebugManagedObject

This interface enables the expression evaluator (EE) to call properties or methods on value class instances (for example, System.Decimal) and to set their value without calling IDebugFunctionObject::Evaluate on the program being debugged.

IDebugManagedObject : IDebugObject

Notes for Implementers

An expression evaluator implements this interface to represent a managed code object such as a variable.

Notes for Callers

To obtain this interface, call IDebugObject::GetManagedDebugObject on an IDebugObject that represents an instance of a value class.

Methods in Vtable Order

In addition to the methods inherited from IDebugObject, the IDebugManagedObject interface exposes the following methods.

Method

Description

IDebugManagedObject::GetManagedObject

Returns an interface that represents the managed code object and from which any appropriate managed code interface can be obtained.

IDebugManagedObject::SetFromManagedObject

Sets the value of this object to the value of a specified managed code object.

Remarks

An expression evaluator uses this interface to store a managed code object in a parse tree.

Requirements

Header: ee.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See Also

Reference

IDebugFunctionObject::Evaluate

Concepts

Expression Evaluation Interfaces