Exemple #1
0
 /// <summary>
 /// Function breakpoints may resolve to different lines depending on the compiler/debugger combination.
 /// Sometimes they resolve to the curly brace line. Other times on the first line of code.
 /// </summary>
 public static IRunBuilder FunctionBreakpointChangedEvent(this IRunBuilder runBuilder, BreakpointReason reason, int startLine, int endLine)
 {
     return(runBuilder.Event(new BreakpointEvent(reason, startLine, endLine)));
 }
Exemple #2
0
 public static IRunBuilder ConsoleEvent(this IRunBuilder runBuilder, string text)
 {
     return(runBuilder.Event(new ConsoleEvent(text)));
 }
Exemple #3
0
 public static IRunBuilder BreakpointChangedEvent(this IRunBuilder runBuilder, BreakpointReason reason, int line)
 {
     return(runBuilder.Event(new BreakpointEvent(reason, line)));
 }
Exemple #4
0
 public static IRunBuilder TerminatedEvent(this IRunBuilder runBuilder)
 {
     return(runBuilder.Event(new TerminatedEvent()));
 }
Exemple #5
0
 public static IRunBuilder ExitedEvent(this IRunBuilder runBuilder, int?exitCode = null)
 {
     return(runBuilder.Event(new ExitedEvent(exitCode)));
 }
Exemple #6
0
 public static IRunBuilder HitStopEventWithinRange(this IRunBuilder runBuilder, StoppedReason reason, string fileName, int startLine, int endLine, Action <StoppedEvent> postSatisfyAction = null)
 {
     return(runBuilder.Event(new StoppedEvent(reason, fileName, startLine, endLine), postSatisfyAction));
 }
Exemple #7
0
 public static IRunBuilder StoppedEvent(this IRunBuilder runBuilder, StoppedReason reason, string fileName = null, int?lineNumber = null, string text = null)
 {
     return(runBuilder.Event(new StoppedEvent(reason, fileName, lineNumber, text)));
 }