IDebugObject::GetManagedDebugObject

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

Syntax

int GetManagedDebugObject(
   out IDebugManagedObject ppObject
);

Parameters

ppObject
[out] Returns an IDebugManagedObject object representing the newly created managed object.

Return Value

If successful, returns S_OK; otherwise, returns an error code. Returns E_FAIL if this IDebugObject does not represent a managed value class instance.

Remarks

This IDebugObject object must represent a managed value class instance, such as a System.Decimal instance. By having a local copy, the overhead of calling Evaluate is eliminated.

See also