共用方式為


IDebugBreakpointBoundEvent2

這個介面會告知偵錯叢集 (SDM) 暫止中斷點已載入的程式成功地結合。

IDebugBreakpointBoundEvent2 : IUnknown

實作器注意事項

DE 會實作這個介面支援中斷點的一部分。 IDebugEvent2介面必須實作這個介面以相同的物件 (使用 SDM QueryInterface存取IDebugEvent2介面)。

呼叫者的備忘稿

DE 建立,並暫止中斷點來偵錯的程式上成功地繫結時,會傳送這個事件的物件。 使用傳送事件IDebugEventCallback2它附加至正在偵錯程式時,由 SDM 提供的回呼函式。

方法 Vtable 順序

下表顯示的方法IDebugBreakpointBoundEvent2

方法

描述

IDebugBreakpointBoundEvent2::GetPendingBreakpoint

取得正在進行繫結的暫止中斷點。

IDebugBreakpointBoundEvent2::EnumBoundBreakpoints

建立此事件繫結中斷點的列舉值。

備註

只要繫結中斷點,則會將事件傳送至 SDM。 如果中斷點無法繫結, IDebugBreakpointErrorEvent2已傳送; 否則, IDebugBreakpointBoundEvent2傳送。

需求

標頭: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

組件: Microsoft.VisualStudio.Debugger.Interop.dll

請參閱

參考

IDebugEvent2

IDebugPendingBreakpoint2

IDebugEventCallback2

IDebugBreakpointErrorEvent2