IDebugErrorBreakpoint2

此接口表示错误或警告断点,例如无效的位置、一个表达式无效或原因挂起的断点尚未绑定 (未加载的代码,等等)。

IDebugErrorBreakpoint2 : IUnknown

实现者说明

调试引擎实现此接口作为其一部分为断点支持。 此接口用于报告绑定断点的问题。

调用方的说明

IDebugBreakpointErrorEvent2:: GetErrorBreakpoint 的调用获取此接口。 此接口可以通过对 IDebugPendingBreakpoint2:: CanBindIDebugPendingBreakpoint2:: EnumErrorBreakpoints的调用也返回 (作为 IEnumDebugErrorBreakpoints2 接口表示的列表一部分)。

方法按 Vtable 顺序

下表显示 IDebugErrorBreakpoint2方法。

方法

说明

IDebugErrorBreakpoint2:: GetPendingBreakpoint

获取导致该错误的挂起的断点。

IDebugErrorBreakpoint2:: GetBreakpointResolution

获取描述错误的断点错误解析。

要求

标题:msdbg.h

命名空间:Microsoft.VisualStudio.Debugger.Interop

程序集:Microsoft.VisualStudio.Debugger.Interop.dll

请参见

参考

IDebugBreakpointErrorEvent2

IDebugBreakpointErrorEvent2:: GetErrorBreakpoint

IEnumDebugErrorBreakpoints2

IEnumDebugErrorBreakpoints2:: 接下来

IDebugPendingBreakpoint2

IDebugErrorBreakpointResolution2