ICorDebugNativeFrame::GetLocalRegisterValue Method

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

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

Parameters

Parameter Description

reg

[in] A value of the CorDebugRegister Enumeration 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 Interface 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: 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

ICorDebugNativeFrame Interface