forked from qt-creator/qt-creator
CDB: Case-normalize file names returned by CDB
Fixing various problems with breakpoints and opened files caused by CDB returning lower-case file names. Task-number: QTCREATORBUG-438 Reviewed-by: hjk <qtc-committer@nokia.com> Acked-by: mariusSO <qt-info@nokia.com>
This commit is contained in:
@@ -116,7 +116,7 @@ bool CdbStackTraceContext::init(unsigned long frameCount, QString * /*errorMessa
|
||||
frame.line = ulLine;
|
||||
// Vitally important to use canonical file that matches editormanager,
|
||||
// else the marker will not show.
|
||||
frame.file = CDBBreakPoint::canonicalSourceFile(QString::fromUtf16(reinterpret_cast<const ushort *>(wszBuf)));
|
||||
frame.file = CDBBreakPoint::normalizeFileName(QString::fromUtf16(reinterpret_cast<const ushort *>(wszBuf)));
|
||||
}
|
||||
m_frames.push_back(frame);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user