/// <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))); }
public static IRunBuilder ConsoleEvent(this IRunBuilder runBuilder, string text) { return(runBuilder.Event(new ConsoleEvent(text))); }
public static IRunBuilder BreakpointChangedEvent(this IRunBuilder runBuilder, BreakpointReason reason, int line) { return(runBuilder.Event(new BreakpointEvent(reason, line))); }
public static IRunBuilder TerminatedEvent(this IRunBuilder runBuilder) { return(runBuilder.Event(new TerminatedEvent())); }
public static IRunBuilder ExitedEvent(this IRunBuilder runBuilder, int?exitCode = null) { return(runBuilder.Event(new ExitedEvent(exitCode))); }
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)); }
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))); }