Skip to content

Commit c5d13f2

Browse files
committed
Remove unneeded newlines when stepping in debugger
This change removes a newline that was being written to the debug console when the user steps through code in the debugger. This newline was added for the case where the debug prompt is written at each stop but was not removed when this feature was temporarily taken out. The newline will be reinstated once we have an option for turning on the debugger prompt.
1 parent c3c19b1 commit c5d13f2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/PowerShellEditorServices/Session/PowerShellContext.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1021,7 +1021,8 @@ private void OnDebuggerStop(object sender, DebuggerStopEventArgs e)
10211021
if (taskIndex == 0)
10221022
{
10231023
// Write a new output line before continuing
1024-
this.WriteOutput("", true);
1024+
// TODO: Re-enable this with fix for #133
1025+
//this.WriteOutput("", true);
10251026

10261027
e.ResumeAction = this.debuggerStoppedTask.Task.Result;
10271028
Logger.Write(LogLevel.Verbose, "Received debugger resume action " + e.ResumeAction.ToString());

0 commit comments

Comments
 (0)