ICorDebugFunctionBreakpoint

更新:2007 年 11 月

扩展 ICorDebugBreakpoint 接口以支持函数中的断点。

interface ICorDebugFunctionBreakpoint : ICorDebugBreakpoint {
        
    HRESULT GetFunction (
        [out] ICorDebugFunction  **ppFunction
    );
        
    HRESULT GetOffset (
        [out] ULONG32            *pnOffset
    );
        
};

方法

方法

说明

ICorDebugFunctionBreakpoint::GetFunction 方法

获取一个接口指针,该指针指向引用在其中设置断点的函数的 ICorDebugFunction

ICorDebugFunctionBreakpoint::GetOffset 方法

获取函数内断点的偏移量。

要求

**平台:**请参见 .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

请参见

参考

ICorDebugBreakpoint

其他资源

调试接口