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