コード例 #1
0
ファイル: VirtualMachine.cs プロジェクト: soulhez/debugger
 public void DoBreakpointHit(string file, int line, IMethodMirror method)
 {
     if (BreakpointHit != null)
     {
         BreakpointHit(new BreakpointEvent(new Location(file, line), method));
     }
 }
コード例 #2
0
ファイル: BreakpointEvent.cs プロジェクト: soulhez/debugger
 public BreakpointEvent(ILocation location, IMethodMirror method)
 {
     Location = location;
     Method   = method;
 }
コード例 #3
0
 private ILocation BestLocationIn(IMethodMirror method, IBreakpoint bp)
 {
     return method.Locations.FirstOrDefault (l => l.SourceFile == bp.Location.SourceFile && l.LineNumber == bp.Location.LineNumber);
 }
コード例 #4
0
ファイル: VirtualMachine.cs プロジェクト: shana/debugger
		public void DoBreakpointHit (string file, int line, IMethodMirror method)
		{
			if (BreakpointHit != null)
				BreakpointHit (new BreakpointEvent (new Location (file, line), method));
		}
コード例 #5
0
 private ILocation BestLocationIn(IMethodMirror method, IBreakpoint bp)
 {
     return(method.Locations.FirstOrDefault(l => l.SourceFile == bp.Location.SourceFile && l.LineNumber == bp.Location.LineNumber));
 }
コード例 #6
0
ファイル: BreakpointEvent.cs プロジェクト: shana/debugger
 public BreakpointEvent(ILocation location, IMethodMirror method)
 {
     Location = location;
     Method = method;
 }