共用方式為


IDebugEventContextCallbacks::Breakpoint 方法 (dbgeng.h)

當收到斷點例外狀況,而且可以對應至現有的斷點時,就會產生斷點事件。 回呼方法會提供斷點的參考,並在使用斷點完成時釋放它。

如需參數描述和其他資訊,請參閱 IDebugEventCallbacks::Breakpoint

語法

HRESULT Breakpoint(
  [in] PDEBUG_BREAKPOINT2 Bp,
  [in] PVOID              Context,
  [in] ULONG              ContextSize
);

參數

[in] Bp

指定與觸發之斷點對應的 IDebugBreakpoint 對象指標。

[in] Context

DEBUG_EVENT_CONTEXT 結構 指定為每個事件回呼的「內容」參數。 內容結構包含有關所發生偵錯事件的其他資訊。

[in] ContextSize

指定緩衝區內容的大小。

要求

要求 價值
目標平臺 桌面
標頭 dbgeng.h (include dbgeng.h)

另請參閱

IDebugEventContextCallbacks (dbgeng.h)