internal void RemoveAllBoundBreakpoints_DbgThread(DbgRuntime runtime) { Dispatcher.VerifyAccess(); var boundBreakpoints = BoundCodeBreakpointsService.RemoveBoundBreakpoints_DbgThread(runtime); foreach (var bp in boundBreakpoints) { bp.Close(Dispatcher); } }
internal void RemoveBoundCodeBreakpoints_DbgThread(DbgRuntimeImpl runtime, DbgEngineBoundCodeBreakpointImpl[] breakpoints) { Dispatcher.VerifyAccess(); Debug.Assert(IsOurEngine(runtime.Engine)); if (!owner.IsOurEngine(runtime.Engine)) { foreach (var bp in breakpoints) { bp.BoundCodeBreakpoint.Close(Dispatcher); } return; } var bps = breakpoints.Select(a => a.BoundCodeBreakpoint).ToArray(); BoundCodeBreakpointsService.RemoveBoundBreakpoints_DbgThread(bps); foreach (var bp in bps) { bp.Close(Dispatcher); } }