ICorDebugValue Interface
Represents a value in the process being debugged. The value can be a read or a write value.
interface ICorDebugValue : IUnknown {
HRESULT CreateBreakpoint (
[out] ICorDebugValueBreakpoint **ppBreakpoint
);
HRESULT GetAddress (
[out] CORDB_ADDRESS *pAddress
);
HRESULT GetSize (
[out] ULONG32 *pSize
);
HRESULT GetType (
[out] CorElementType *pType
);
};
Methods
Method |
Description |
---|---|
This method is not currently implemented. |
|
Gets the address of this ICorDebugValue object, which is in the process of being debugged. |
|
Gets the size, in bytes, of this ICorDebugValue object. |
|
Gets the primitive type of this ICorDebugValue object. |
Remarks
In general, ownership of a value object is passed when it is returned. The recipient is responsible for removing a reference from the object when it is finished with the object.
Depending on where the value was retrieved from, the value may not remain valid after the process is resumed. So, in general, the value shouldn't be held across a call of the ICorDebugController::Continue method.
Requirements
Platforms: See .NET Framework System Requirements.
Header: CorDebug.idl
Library: CorGuids.lib
.NET Framework Versions: 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0
See Also
Reference
ICorDebugGenericValue Interface