ICorDebugILFrame Interface
Represents a stack frame of Microsoft intermediate language (MSIL) code.
interface ICorDebugILFrame : ICorDebugFrame {
typedef enum CorDebugMappingResult {
MAPPING_PROLOG = 0x1,
MAPPING_EPILOG = 0x2,
MAPPING_NO_INFO = 0x4,
MAPPING_UNMAPPED_ADDRESS = 0x8,
MAPPING_EXACT = 0x10,
MAPPING_APPROXIMATE = 0x20,
} CorDebugMappingResult;
HRESULT CanSetIP (
[in] ULONG32 nOffset
);
HRESULT EnumerateArguments (
[out] ICorDebugValueEnum **ppValueEnum
);
HRESULT EnumerateLocalVariables(
[out] ICorDebugValueEnum **ppValueEnum
);
HRESULT GetArgument (
[in] DWORD dwIndex,
[out] ICorDebugValue **ppValue
);
HRESULT GetIP (
[out] ULONG32 *pnOffset,
[out] CorDebugMappingResult *pMappingResult
);
HRESULT GetLocalVariable (
[in] DWORD dwIndex,
[out] ICorDebugValue **ppValue
);
HRESULT GetStackDepth (
[out] ULONG32 *pDepth
);
HRESULT GetStackValue (
[in] DWORD dwIndex,
[out] ICorDebugValue **ppValue
);
HRESULT SetIP (
[in] ULONG32 nOffset
);
};
Methods
Method |
Description |
---|---|
Gets a value that indicates whether it is safe to set the instruction pointer to the specified offset location. |
|
Gets an enumerator for the arguments in this frame. |
|
Gets an enumerator for the local variables in this frame. |
|
Gets the value of the specified argument in this MSIL stack frame. |
|
Gets the value of the instruction pointer and a bitwise combination value that describes how the value of the instruction pointer was obtained. |
|
Gets the value of the specified local variable in this MSIL stack frame. |
|
Not implemented. |
|
Not implemented. |
|
Sets the instruction pointer to the specified offset location in the MSIL code. |
Remarks
The ICorDebugILFrame interface is a specialized ICorDebugFrame interface. It is used either for MSIL code frames or for just-in-time (JIT) compiled frames. The JIT-compiled frames implement both the ICorDebugILFrame interface and the ICorDebugNativeFrame interface.
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