From 21fcf070fba8e273966805dcd05dcdceb068ccf5 Mon Sep 17 00:00:00 2001 From: Steve Lee Date: Sun, 6 Jan 2019 11:47:34 +0900 Subject: [PATCH] Remove unnecessary trim of passed-in command line in interactive debugging (#8594) --- src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleHost.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleHost.cs b/src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleHost.cs index 41b4797dae..fa6f0970a1 100644 --- a/src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleHost.cs +++ b/src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleHost.cs @@ -2450,7 +2450,7 @@ namespace Microsoft.PowerShell if (_parent.InDebugMode) { - DebuggerCommandResults results = ProcessDebugCommand(line.Trim(), out e); + DebuggerCommandResults results = ProcessDebugCommand(line, out e); if (results.ResumeAction != null) {