Share via


ICorDebugILFrame::GetLocalVariable Method

Gets the value of the specified local variable in this Microsoft intermediate language (MSIL) stack frame.

HRESULT GetLocalVariable (
    [in] DWORD                  dwIndex,
    [out] ICorDebugValue        **ppValue
);

Parameters

  • dwIndex
    [in] The index of the local variable in this MSIL stack frame.

  • ppValue
    [out] A pointer to the address of an ICorDebugValue object that represents the retrieved value.

Remarks

The GetLocalVariable method can be used either in an MSIL stack frame or in 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

Concepts

ICorDebugILFrame Interface