int IDebugBreakpointBoundEvent2.EnumBoundBreakpoints(out IEnumDebugBoundBreakpoints2 ppEnum) { IDebugBoundBreakpoint2[] boundBreakpoints = new IDebugBoundBreakpoint2[1]; boundBreakpoints[0] = m_boundBreakpoint; ppEnum = new AD7BoundBreakpointsEnum(boundBreakpoints); return(VSConstants.S_OK); }
// Enumerates all breakpoints bound from this pending breakpoint int IDebugPendingBreakpoint2.EnumBoundBreakpoints(out IEnumDebugBoundBreakpoints2 ppEnum) { lock (mBoundBPs) { IDebugBoundBreakpoint2[] boundBreakpoints = mBoundBPs.ToArray(); ppEnum = new AD7BoundBreakpointsEnum(boundBreakpoints); } return(VSConstants.S_OK); }