diff --git a/RedPandaIDE/debugger/debugger.cpp b/RedPandaIDE/debugger/debugger.cpp index ec7d7e914..0da933afd 100644 --- a/RedPandaIDE/debugger/debugger.cpp +++ b/RedPandaIDE/debugger/debugger.cpp @@ -1025,7 +1025,7 @@ void Debugger::syncFinishedParsing() for (const QString& line:mClient->consoleOutput()) { pMainWindow->addDebugOutput(line); } - //pMainWindow->addDebugOutput("(gdb)"); + pMainWindow->addDebugOutput("(gdb)"); } } } diff --git a/RedPandaIDE/debugger/gdbmidebugger.cpp b/RedPandaIDE/debugger/gdbmidebugger.cpp index b3099fc1c..fddcdbe7e 100644 --- a/RedPandaIDE/debugger/gdbmidebugger.cpp +++ b/RedPandaIDE/debugger/gdbmidebugger.cpp @@ -928,9 +928,9 @@ void GDBMIDebuggerClient::processDebugOutput(const QByteArray& debugOutput) case '+': // status async output case '=': // notify async output break; - case '(': - if (line.startsWith("(gdb)")) - mConsoleOutput.append(line); + case '(': // Prompt (gdb) +// if (line.startsWith("(gdb)")) +// mConsoleOutput.append(line); break; } }