forked from qt-creator/qt-creator
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:
@@ -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());
|
||||
}});
|
||||
}
|
||||
|
||||
|
@@ -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);
|
||||
}
|
||||
};
|
||||
|
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user