From 2863772934e39692e53ef8982f83db77c7382d5c Mon Sep 17 00:00:00 2001 From: David Schulz Date: Thu, 2 Jan 2020 13:37:03 +0100 Subject: [PATCH] Debugger: normalize stack frame file paths from cdb Task-number: QTCREATORBUG-23339 Change-Id: If467b6760c3d4c6fdfd74bb0221d948b7f732b18 Reviewed-by: hjk --- src/plugins/debugger/cdb/cdbengine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/debugger/cdb/cdbengine.cpp b/src/plugins/debugger/cdb/cdbengine.cpp index 53f3dac48e0..26a6cee1108 100644 --- a/src/plugins/debugger/cdb/cdbengine.cpp +++ b/src/plugins/debugger/cdb/cdbengine.cpp @@ -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"];