更新: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。 |
|
获取一个指针,该指针指向此 ICorDebugFrame 所属的 ICorDebugChain。 |
|
获取一个指针,该指针指向与此堆栈帧关联的 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