ICorDebugValue Interface

Represents a value in the process being debugged. The value can be a read or a write value.


Method Description
CreateBreakpoint Method This method is not currently implemented.
GetAddress Method Gets the address of this ICorDebugValue object, which is in the process of being debugged.
GetSize Method Gets the size, in bytes, of this ICorDebugValue object.
GetType Method Gets the primitive type of this ICorDebugValue object.


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.


This interface does not support being called remotely, either cross-machine or cross-process.


Platforms: See System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: Available since 1.0

See also