次の方法で共有


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

ICorDebugValue::CreateBreakpoint Method

CreateBreakpoint is not currently implemented.

ICorDebugValue::GetAddress Method

Gets the address of this IcorDebugValue object, which is in the process of being debugged.

ICorDebugValue::GetSize Method

Gets the size, in bytes, of this IcorDebugValue object.

ICorDebugValue::GetType Method

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 method.

Requirements

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: CorDebug.idl

Library: CorGuids.lib

.NET Framework Version: 2.0, 1.1, 1.0

See Also

Reference

ICorDebugGenericValue Interface
ICorDebugHeapValue Interface
ICorDebugHeapValue2 Interface
ICorDebugValue2 Interface

Other Resources

Debugging Interfaces