IDebugBreakpointEvent2:: EnumBreakpoints

创建在当前代码位置激发的所有断点的枚举数。

HRESULT EnumBreakpoints(
  IEnumDebugBoundBreakpoints2** ppEnum
);
int EnumBreakpoints(
  out IEnumDebugBoundBreakpoints2 ppEnum
);

参数

返回值

如果成功,则返回; S_OK否则,返回错误代码。

备注

不是在特定位置的所有断点可能在特定时间时 (例如,断点加上条件不会激发,直到该条件匹配)。

请参见

参考

IDebugBreakpointEvent2

IEnumDebugBoundBreakpoints2