Пример #1
0
 public void NotifyBreakpointHit(Breakpoint breakpoint)
 {
     BreakAllProcesses = false;
     DebugEvent.Send(new BreakpointEvent(this, BoundBreakpointsEnum.Create(breakpoint)));
 }
Пример #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;
 }
Пример #3
0
 int IDebugPendingBreakpoint2.EnumBoundBreakpoints(out IEnumDebugBoundBreakpoints2 ppEnum)
 {
     ppEnum = BoundBreakpointsEnum.Create(ThreadSafe(() => breakpoints.ToList()));
     return(VSConstants.S_OK);
 }
Пример #4
0
 int IDebugBreakpointBoundEvent2.EnumBoundBreakpoints(
     out IEnumDebugBoundBreakpoints2 ppEnum)
 {
     ppEnum = BoundBreakpointsEnum.Create(Breakpoint);
     return(VSConstants.S_OK);
 }