Compartilhar via


IDebugObject2

This interface provides additional information about an object.

IDebugObject2 : IDebugObject

Notes for Implementers

The expression evaluator implements this interface to offer support for aliases and access to information about the object.

Notes for Callers

An IDebugObject interface can obtain this interface by using QueryInterface. Also, IDebugAlias::GetObject returns this interface.

Methods in Vtable order

In addition to the methods on the IDebugObject interface, the IDebugObject2 interface implements the following:

Method

Description

IDebugObject2::GetBackingFieldForProperty

Gets the field or variable (if any) that may be backing the property represented by this object.

IDebugObject2::GetICorDebugValue

Gets the managed code object representing the value of this object.

IDebugObject2::CreateAlias

Creates a unique ID for this object or returns an existing alias.

IDebugObject2::GetAlias

Gets the alias associated with this object, if any.

IDebugObject2::GetField

Gets the type of this object.

IDebugObject2::IsUserData

Determines whether this object represents user data.

IDebugObject2::IsEncOutdated

Determines whether the Edit and Continue state is no longer valid.

A custom expression evaluator does not implement this method (it should always return E_NOTIMPL).

Remarks

See IDebugAlias for a discussion on aliases.

Requirements

Header: ee.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See Also

Reference

IDebugObject

IDebugAlias

IDebugAlias::GetObject

Concepts

Expression Evaluation Interfaces