Пример #1
0
 /// <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();
Пример #2
0
 /// <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();
Пример #3
0
 /// <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);
Пример #4
0
 /// <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();