Skip to content

Commit d2c322f

Browse files
authored
fix 2nd echo processing with lldb (#1290)
1 parent 7714553 commit d2c322f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/MICore/Debugger.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1253,10 +1253,10 @@ public void ProcessStdOutLine(string line)
12531253
{
12541254
WaitingOperationDescriptor waitingOperation;
12551255
if (_waitingOperations.TryGetValue(id, out waitingOperation) &&
1256-
!waitingOperation.EchoReceived &&
12571256
line == waitingOperation.Command)
12581257
{
12591258
// This is just the echo. Ignore.
1259+
// Sometimes with lldb we are seeing 2 command echos
12601260
waitingOperation.EchoReceived = true;
12611261
return;
12621262
}
@@ -1267,6 +1267,7 @@ public void ProcessStdOutLine(string line)
12671267
switch (c)
12681268
{
12691269
case '~':
1270+
case '@':
12701271
OnDebuggeeOutput(noprefix); // Console stream
12711272
break;
12721273
case '^':

0 commit comments

Comments
 (0)