forked from qt-creator/qt-creator
Debugger: normalize stack frame file paths from cdb
Task-number: QTCREATORBUG-23339 Change-Id: If467b6760c3d4c6fdfd74bb0221d948b7f732b18 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -2575,7 +2575,7 @@ static StackFrames parseFrames(const GdbMi &gdbmi, bool *incomplete = nullptr)
|
||||
frame.level = QString::number(i);
|
||||
const GdbMi fullName = frameMi["fullname"];
|
||||
if (fullName.isValid()) {
|
||||
frame.file = fullName.data();
|
||||
frame.file = Utils::FileUtils::normalizePathName(fullName.data());
|
||||
frame.line = frameMi["line"].data().toInt();
|
||||
frame.usable = false; // To be decided after source path mapping.
|
||||
const GdbMi languageMi = frameMi["language"];
|
||||
|
Reference in New Issue
Block a user