ICorDebugNativeFrame::GetLocalRegisterValue Method

Gets the value of an argument or local variable that is stored in the specified register for this native frame.

Syntax

HRESULT GetLocalRegisterValue (
    [in]  CorDebugRegister   reg,
    [in]  ULONG              cbSigBlob,
    [in]  PCCOR_SIGNATURE    pvSigBlob,
    [out] ICorDebugValue     **ppValue
);

Parameters

reg [in] A value of the "CorDebugRegister" enumeration that specifies the register containing the value.

cbSigBlob [in] An integer that specifies the size of the binary metadata signature which is referenced by the pvSigBlob parameter.

pvSigBlob [in] A PCCOR_SIGNATURE value that points to the binary metadata signature of the value's type.

ppValue [out] A pointer to the address of an "ICorDebugValue" object representing the retrieved value that is stored in the specified register.

Remarks

The GetLocalRegisterValue method can be used either in a native frame or a just-in-time (JIT)-compiled frame.

Requirements

Platforms: See System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: Available since 1.0

See also