public void DoBreakpointHit(string file, int line, IMethodMirror method) { if (BreakpointHit != null) { BreakpointHit(new BreakpointEvent(new Location(file, line), method)); } }
public BreakpointEvent(ILocation location, IMethodMirror method) { Location = location; Method = method; }
private ILocation BestLocationIn(IMethodMirror method, IBreakpoint bp) { return method.Locations.FirstOrDefault (l => l.SourceFile == bp.Location.SourceFile && l.LineNumber == bp.Location.LineNumber); }
public void DoBreakpointHit (string file, int line, IMethodMirror method) { if (BreakpointHit != null) BreakpointHit (new BreakpointEvent (new Location (file, line), method)); }
private ILocation BestLocationIn(IMethodMirror method, IBreakpoint bp) { return(method.Locations.FirstOrDefault(l => l.SourceFile == bp.Location.SourceFile && l.LineNumber == bp.Location.LineNumber)); }