IDebugPendingBreakpoint2

此接口表示准备绑定到代码位置的断点。

IDebugPendingBreakpoint2 : IUnknown

实现者说明

调试引擎 (DE)实现此接口作为其一部分为断点支持。

调用方的说明

IDebugEngine2:: CreatePendingBreakpoint 的调用创建从 IDebugBreakpointRequest2 接口的挂起的断点。 为 IDebugPendingBreakpoint2:: 绑定 的调用创建表示在程序中有限的一个断点 IDebugBreakpoint2 接口。

方法按 Vtable 顺序

下表显示 IDebugPendingBreakpoint2方法。

方法

说明

IDebugPendingBreakpoint2:: CanBind

确定此挂起的断点是否可以绑定到代码位置。

IDebugPendingBreakpoint2:: 绑定

将此挂起的断点到一个或多个代码位置。

IDebugPendingBreakpoint2:: GetState

获取挂起的断点状态。

IDebugPendingBreakpoint2:: GetBreakpointRequest

获取用于创建此挂起的断点的断点请求。

IDebugPendingBreakpoint2:: 活动

切换此挂起的断点有效状态。

IDebugPendingBreakpoint2:: 启用

切换此挂起的断点已启用状态。

IDebugPendingBreakpoint2:: SetCondition

设置或更改该条件与此挂起的断点。

IDebugPendingBreakpoint2:: SetPassCount

设置或更改通过计数与此挂起的断点。

IDebugPendingBreakpoint2:: EnumBoundBreakpoints

枚举从此挂起的断点绑定的所有断点。

IDebugPendingBreakpoint2:: EnumErrorBreakpoints

枚举由此挂起的断点的所有错误断点。

IDebugPendingBreakpoint2:: 删除

从中删除绑定的此挂起的断点和所有断点。

备注

IDebugPendingBreakpoint2 可视为必要所需的所有信息提供程序绑定可应用于一个或多个程序的断点代码。

挂起断点可能导致多个绑定断点。 例如,在 c. c++ 样式模板的断点会导致该模板的每个实例都绑定断点。

要求

标题:msdbg.h

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

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

请参见

参考

IDebugEngine2:: CreatePendingBreakpoint

IDebugBreakpointBoundEvent2:: GetPendingBreakpoint

IDebugBoundBreakpoint2:: GetPendingBreakpoint

IDebugErrorBreakpoint2:: GetPendingBreakpoint