Commit 9aa52a2c authored by Eike Ziller's avatar Eike Ziller Committed by hjk
Browse files

lldb: Quick fix for weird behavior when opening locations from debugger



Paths passed to Qt Creator API must be cleaned. Make sure that the file
path that is opened from stack view and when stepping etc, is cleaned.

Task-number: QTCREATORBUG-10119
Change-Id: Iaac9b15e76cf8dff514889f201c4f65330145d16
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent 7d8546b8
......@@ -66,6 +66,7 @@
#include <QDebug>
#include <QTimer>
#include <QFileInfo>
#include <QDir>
#include <QMessageBox>
......@@ -534,7 +535,7 @@ void DebuggerEngine::gotoLocation(const Location &loc)
// return;
const QString file = loc.fileName();
const QString file = QDir::cleanPath(loc.fileName());
const int line = loc.lineNumber();
bool newEditor = false;
IEditor *editor = EditorManager::openEditor(file, Id(),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment