/// <summary> /// Gets the breakpoints currently managed by the breakpoint view. /// </summary> /// <remarks> /// Convenience function that calls IBreakpointView.GetBreakpoints(). /// </remarks> public static IList <IBreakpoint> GetBreakpoints(this IVSFake vsFake) => vsFake.DebugSession.BreakpointView.GetBreakpoints();
/// <summary> /// Instructs the attached program to step out of current method. /// </summary> /// <remarks> /// Convenience function that calls IControlFlowView.StepOut(). /// </remarks> public static void StepOut(this IVSFake vsFake) => vsFake.DebugSession.ControlFlowView.StepOut();
/// <summary> /// Adds a new breakpoint specified by a filename and a line number. /// </summary> /// <remarks> /// Convenience function that calls IBreakpointView.Add(). /// </remarks> public static IBreakpoint AddBreakpoint( this IVSFake vsFake, string filename, int lineNumber) => vsFake.DebugSession.BreakpointView.Add(filename, lineNumber);
/// <summary> /// Instructs the attached program to pause. /// </summary> /// <remarks> /// Convenience function that calls IControlFlowView.Pause(). /// </remarks> public static void Pause(this IVSFake vsFake) => vsFake.DebugSession.ControlFlowView.Pause();