Partager via


IDebugBreakpointEvent2::EnumBreakpoints

Creates an enumerator for all the breakpoints that fired at the current code location.

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

Parameters

  • ppEnum
    [out] Returns an IEnumDebugBoundBreakpoints2 object that enumerates all the breakpoints associated with the current code location.

Return Value

If successful, returns S_OK; otherwise, returns an error code.

Remarks

Not all breakpoints at a particular location may fire at a particular time (for example, a breakpoint with a condition will not fire until that condition is met).

See Also

Reference

IDebugBreakpointEvent2

IEnumDebugBoundBreakpoints2