断点绑定或取消绑定时
当在对 IDebugPendingBreakpoint2::CanBind 方法进行调用时无法绑定断点时,断点的绑定时间和创建时间是不同的。
调用的方法
会话调试管理器 (SDM) 调用以下方法:
IDebugEngine2::CreatePendingBreakpoint。 DE 返回 IDebugPendingBreakpoint2。
IDebugPendingBreakpoint2::Bind 方法并返回S_OK。 DE 发送 IDebugBreakpointBoundEvent2 或 IDebugBreakpointErrorEvent2。
IDebugBreakpointBoundEvent2::GetPendingBreakpoint 和 IDebugBreakpointBoundEvent2::EnumBoundBreakpoints 方法用于验证和获取绑定断点。