/// <summary> /// Insers a new breakpoint at a specified index. /// </summary> /// <param name="index">The zero-based index at which the breakpoint should be inserted.</param> /// <param name="item">The breakpoint to insert. Cannot be null.</param> public void Insert(int index, Breakpoint item) { lock (this) { if (item == null) { throw new ArgumentNullException(); } Debugger.Target.SetBreakpointChecker(item); Breakpoints.Insert(index, item); } }