Debugger: Remove space from suggested file name for full back traces

File names with spaces are impractical.

Change-Id: I7c4bab24d2fc7e115720a92f2941a150eb905499
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Friedemann Kleint
2024-09-19 13:55:44 +02:00
parent 38c364a9b7
commit 85b965857e
3 changed files with 3 additions and 3 deletions

View File

@@ -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());
}});
}

View File

@@ -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);
}
};

View File

@@ -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);
}