Пример #1
0
        public int EnumBreakpoints(out IEnumDebugBoundBreakpoints2 ppEnum)
        {
            DLog.Debug(DContext.VSDebuggerEvent, "BreakpointEvent.EnumBreakpoints");

            ppEnum = new BoundBreakpointsEnum(new[] { breakpoint });
            return(VSConstants.S_OK);
        }
Пример #2
0
 /// <summary>
 /// Enumerates all breakpoints bound from this pending breakpoint.
 /// </summary>
 public int EnumBoundBreakpoints(out IEnumDebugBoundBreakpoints2 ppEnum)
 {
     DLog.Debug(DContext.VSDebuggerComCall, "DebugPendingBreakpoint.EnumBoundBreakpoints");
     if (IsDeleted)
     {
         ppEnum = null;
         return(HResults.E_BP_DELETED);
     }
     ppEnum = new BoundBreakpointsEnum(boundBreakpoints);
     return(VSConstants.S_OK);
 }