ICorDebugFrame
更新:2007 年 11 月
表示目前堆疊上的框架。
interface ICorDebugFrame : IUnknown {
HRESULT CreateStepper (
[out] ICorDebugStepper **ppStepper
);
HRESULT GetCallee (
[out] ICorDebugFrame **ppFrame
);
HRESULT GetCaller(
[out] ICorDebugFrame **ppFrame
);
HRESULT GetChain (
[out] ICorDebugChain **ppChain
);
HRESULT GetCode (
[out] ICorDebugCode **ppCode
);
HRESULT GetFunction (
[out] ICorDebugFunction **ppFunction
);
HRESULT GetFunctionToken (
[out] mdMethodDef *pToken
);
HRESULT GetStackRange (
[out] CORDB_ADDRESS *pStart,
[out] CORDB_ADDRESS *pEnd
);
};
方法
方法 |
說明 |
---|---|
取得 ICorDebugStepper,以執行與這個 ICorDebugFrame 相關的逐步作業。 |
|
取得指標,指向目前鏈結中此框架呼叫的 ICorDebugFrame,如果此框架為鏈結中最內部的框架,則傳回 null。 |
|
取得指標,指向目前鏈結中呼叫此框架的 ICorDebugFrame,如果此框架為鏈結中最外部的框架,則傳回 null。 |
|
取得 ICorDebugChain 的指標,ICorDebugFrame 是它的一部分。 |
|
取得與此堆疊框架相關聯的 ICorDebugCode 指標。 |
|
取得 ICorDebugFunction 的指標,其中包含與此堆疊框架相關聯的程式碼。 |
|
取得此函式的中繼資料語彙基元,函式中包含與這個堆疊框架相關聯的程式碼。 |
|
取得此 ICorDebugFrame 所表示堆疊框架的絕對位址範圍。 |
需求
**平台:**請參閱 .NET Framework 系統需求。
**標頭:**CorDebug.idl
**程式庫:**CorGuids.lib
**.NET Framework 版本:**3.5 SP1、3.5、3.0 SP1、3.0、2.0 SP1、2.0、1.1、1.0