public override void CopyFrom(BreakEvent ev) { base.CopyFrom(ev); Catchpoint cp = (Catchpoint)ev; exceptionName = cp.exceptionName; }
public override void CopyFrom(BreakEvent ev) { base.CopyFrom(ev); Catchpoint cp = (Catchpoint)ev; exceptionName = cp.exceptionName; includeSubclasses = cp.includeSubclasses; }
public Catchpoint AddCatchpoint(string exceptioName) { if (IsReadOnly) { return(null); } Catchpoint cp = new Catchpoint(exceptioName); Add(cp); return(cp); }
public Catchpoint AddCatchpoint(string exceptionName) { if (exceptionName == null) { throw new ArgumentNullException("exceptionName"); } if (IsReadOnly) { return(null); } var cp = new Catchpoint(exceptionName); Add(cp); return(cp); }
public Catchpoint AddCatchpoint(string exceptionName, bool includeSubclasses) { if (exceptionName == null) { throw new ArgumentNullException(nameof(exceptionName)); } if (IsReadOnly) { return(null); } var cp = new Catchpoint(exceptionName, includeSubclasses); Add(cp); return(cp); }
public bool RemoveCatchpoint(string exceptionName) { if (IsReadOnly) { return(false); } for (int n = 0; n < breakpoints.Count; n++) { Catchpoint cp = breakpoints [n] as Catchpoint; if (cp != null && cp.ExceptionName == exceptionName) { breakpoints.RemoveAt(n); OnBreakEventRemoved(cp); n--; } } return(true); }
void InsertCatchpoint (Catchpoint cp, BreakInfo bi, TypeMirror excType) { var request = bi.Req = vm.CreateExceptionRequest (excType, true, true); request.Count = cp.HitCount; bi.Req.Enabled = bi.Enabled; }
void ResolvePendingCatchpoint (Catchpoint cp, TypeMirror type) { BreakInfo bi = GetBreakInfo (cp); InsertCatchpoint (cp, bi, type); SetBreakEventStatus (cp, true, null); }
void SetInitialCatchpointData (Catchpoint cp) { stopOnFunction.Visible = false; hboxFunction.Visible = false; stopOnLocation.Visible = false; vboxLocation.Visible = false; stopOnException.Active = true; entryExceptionType.Text = cp.ExceptionName; checkIncludeSubclass.Active = cp.IncludeSubclasses; }
void InsertCatchpoint (Catchpoint cp, BreakInfo bi, TypeMirror excType) { EventRequest request; request = vm.CreateExceptionRequest (excType, true, true); request.Count = cp.HitCount; // Note: need to set HitCount *before* enabling request.Enabled = cp.Enabled; bi.Requests.Add (request); }
public CatchpointEventArgs(Catchpoint cp) { Catchpoint = cp; }
public CatchpointEventArgs(Catchpoint cp) { this.cp = cp; }
public CatchpointEventArgs (Catchpoint cp) { this.cp = cp; }