diff --git a/lldb/source/Core/Debugger.cpp b/lldb/source/Core/Debugger.cpp --- a/lldb/source/Core/Debugger.cpp +++ b/lldb/source/Core/Debugger.cpp @@ -669,9 +669,9 @@ CommandReturnObject result(debugger_sp->GetUseColor()); cmd_interpreter.SaveTranscript(result); if (result.Succeeded()) - debugger_sp->GetOutputStream() << result.GetOutputData() << '\n'; + (*debugger_sp->GetAsyncOutputStream()) << result.GetOutputData() << '\n'; else - debugger_sp->GetErrorStream() << result.GetErrorData() << '\n'; + (*debugger_sp->GetAsyncErrorStream()) << result.GetErrorData() << '\n'; } debugger_sp->Clear();