From d2c322fb1af56e3d1800361a287a3f9c70e43d8f Mon Sep 17 00:00:00 2001 From: paulmaybee Date: Fri, 11 Mar 2022 13:45:34 -0800 Subject: [PATCH] fix 2nd echo processing with lldb (#1290) --- src/MICore/Debugger.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/MICore/Debugger.cs b/src/MICore/Debugger.cs index 1e22feb37..de2796da2 100755 --- a/src/MICore/Debugger.cs +++ b/src/MICore/Debugger.cs @@ -1253,10 +1253,10 @@ public void ProcessStdOutLine(string line) { WaitingOperationDescriptor waitingOperation; if (_waitingOperations.TryGetValue(id, out waitingOperation) && - !waitingOperation.EchoReceived && line == waitingOperation.Command) { // This is just the echo. Ignore. + // Sometimes with lldb we are seeing 2 command echos waitingOperation.EchoReceived = true; return; } @@ -1267,6 +1267,7 @@ public void ProcessStdOutLine(string line) switch (c) { case '~': + case '@': OnDebuggeeOutput(noprefix); // Console stream break; case '^':