ICorDebugILFrame 介面ICorDebugILFrame Interface

表示 Microsoft 中繼語言 (MSIL) 程式碼的堆疊框架。Represents a stack frame of Microsoft intermediate language (MSIL) code. 此介面是 ICorDebugFrame 介面的子類別。This interface is a subclass of the ICorDebugFrame interface.


方法Method 描述Description
CanSetIP 方法CanSetIP Method 取得值,這個值會指出是否可以安全地將指令指標設定為指定的位移位置。Gets a value that indicates whether it is safe to set the instruction pointer to the specified offset location.
EnumerateArguments 方法EnumerateArguments Method 取得此框架中引數的列舉值。Gets an enumerator for the arguments in this frame.
EnumerateLocalVariables 方法EnumerateLocalVariables Method 取得這個框架中區域變數的列舉值。Gets an enumerator for the local variables in this frame.
GetArgument 方法GetArgument Method 取得這個 MSIL 堆疊框架中指定之引數的值。Gets the value of the specified argument in this MSIL stack frame.
GetIP 方法GetIP Method 取得指令指標的值,以及描述如何取得指令指標值的位組合值。Gets the value of the instruction pointer and a bitwise combination value that describes how the value of the instruction pointer was obtained.
GetLocalVariable 方法GetLocalVariable Method 取得這個 MSIL 堆疊框架中指定之區域變數的值。Gets the value of the specified local variable in this MSIL stack frame.
GetStackDepth 方法GetStackDepth Method 未實作。Not implemented.
GetStackValue 方法GetStackValue Method 未實作。Not implemented.
SetIP 方法SetIP Method 將指令指標設定為 MSIL 程式碼中指定的位移位置。Sets the instruction pointer to the specified offset location in the MSIL code.


ICorDebugILFrame介面是特製化的 ICorDebugFrame 介面。The ICorDebugILFrame interface is a specialized ICorDebugFrame interface. 它可用於 MSIL 程式碼框架,或適用于即時 (JIT) 編譯的框架。It is used either for MSIL code frames or for just-in-time (JIT) compiled frames. JIT 編譯的框架會同時執行 ICorDebugILFrame 介面和 ICorDebugNativeFrame 介面。The JIT-compiled frames implement both the ICorDebugILFrame interface and the ICorDebugNativeFrame interface.


這個介面不支援跨電腦或跨處理序的遠端呼叫。This interface does not support being called remotely, either cross-machine or cross-process.


平台: 請參閱 系統需求Platforms: See System Requirements.

標頭: CorDebug.idl、CorDebug.hHeader: CorDebug.idl, CorDebug.h

程式庫: CorGuids.libLibrary: CorGuids.lib

.NET Framework 版本:自 1.0 起可用Available since 1.0.NET Framework Versions: 自 1.0 起可用Available since 1.0

另請參閱See also