Compartilhar via


IDebugObject

This interface represents an object that the binder creates to encapsulate the values of symbols and expressions.

IDebugObject : IUnknown

Notes for Implementers

An expression evaluator implements this interface to represent an object.

Notes for Callers

This interface is the base class for all objects that the expression evaluator uses in parsed expressions. It is returned by a call to the IDebugBinder::Bind method. QueryInterface obtains the more specialized interfaces from this interface.

Methods in Vtable Order

The following table shows the methods of IDebugObject.

Method

Description

IDebugObject::GetSize

Gets the size of the object.

IDebugObject::GetValue

Gets the value of the object as a consecutive series of bytes.

IDebugObject::SetValue

Sets the value of the object from a consecutive series of bytes.

IDebugObject::SetReferenceValue

Sets the reference value of this object.

IDebugObject::GetMemoryContext

Gets the memory context that represents the address of the value of the object.

IDebugObject::GetManagedDebugObject

Creates a copy of the managed object in the address space of the debug engine.

IDebugObject::IsNullReference

Tests whether this object is a null reference.

IDebugObject::IsEqual

Compares an object to this one.

IDebugObject::IsReadOnly

Determines if this object is read-only.

IDebugObject::IsProxy

Determines if the object is a transparent proxy.

Remarks

The expression evaluator uses this interface as the base class to represent objects in a parse tree.

Requirements

Header: ee.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See Also

Reference

IDebugArrayObject::GetElement

IDebugBinder::Bind

Concepts

Expression Evaluation Interfaces