From 85b965857ee1ecf6533297a4913cedd0aa8c2b51 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Thu, 19 Sep 2024 13:55:44 +0200 Subject: [PATCH] Debugger: Remove space from suggested file name for full back traces File names with spaces are impractical. Change-Id: I7c4bab24d2fc7e115720a92f2941a150eb905499 Reviewed-by: hjk --- src/plugins/debugger/cdb/cdbengine.cpp | 2 +- src/plugins/debugger/gdb/gdbengine.cpp | 2 +- src/plugins/debugger/lldb/lldbengine.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugins/debugger/cdb/cdbengine.cpp b/src/plugins/debugger/cdb/cdbengine.cpp index 840f78dfc93..6fa342d252f 100644 --- a/src/plugins/debugger/cdb/cdbengine.cpp +++ b/src/plugins/debugger/cdb/cdbengine.cpp @@ -255,7 +255,7 @@ int CdbEngine::elapsedLogTime() void CdbEngine::createFullBacktrace() { runCommand({"~*kp", BuiltinCommand, [](const DebuggerResponse &response) { - Internal::openTextEditor("Backtrace $", response.data.data()); + Internal::openTextEditor("Backtrace$", response.data.data()); }}); } diff --git a/src/plugins/debugger/gdb/gdbengine.cpp b/src/plugins/debugger/gdb/gdbengine.cpp index 41d26962c96..2be678120d6 100644 --- a/src/plugins/debugger/gdb/gdbengine.cpp +++ b/src/plugins/debugger/gdb/gdbengine.cpp @@ -4240,7 +4240,7 @@ void GdbEngine::createFullBacktrace() DebuggerCommand cmd("thread apply all bt full", NeedsTemporaryStop | ConsoleCommand); cmd.callback = [](const DebuggerResponse &response) { if (response.resultClass == ResultDone) { - Internal::openTextEditor("Backtrace $", + Internal::openTextEditor("Backtrace$", response.consoleStreamOutput + response.logStreamOutput); } }; diff --git a/src/plugins/debugger/lldb/lldbengine.cpp b/src/plugins/debugger/lldb/lldbengine.cpp index e234aefc216..d8535fd697c 100644 --- a/src/plugins/debugger/lldb/lldbengine.cpp +++ b/src/plugins/debugger/lldb/lldbengine.cpp @@ -1062,7 +1062,7 @@ void LldbEngine::fetchFullBacktrace() { DebuggerCommand cmd("fetchFullBacktrace"); cmd.callback = [](const DebuggerResponse &response) { - Internal::openTextEditor("Backtrace $", fromHex(response.data["fulltrace"].data())); + Internal::openTextEditor("Backtrace$", fromHex(response.data["fulltrace"].data())); }; runCommand(cmd); }