forked from qt-creator/qt-creator
Squish: Ensure using correct case while debugging
Especially on non-casesensitive OS we may get the information regarding break point locations with a wrong case which would try to set a break point and silently fail as the files are internally used with their correct case. Change-Id: I32a780629e1b10ea075d669b8eca812fbd994600 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -1021,7 +1021,7 @@ Utils::Links SquishTools::setBreakpoints()
|
||||
continue;
|
||||
const Utils::FilePath filePath = Utils::FilePath::fromString(
|
||||
gb->data(BreakpointFileColumn, Qt::DisplayRole).toString());
|
||||
auto fileName = filePath.toUserOutput();
|
||||
auto fileName = filePath.canonicalPath().toUserOutput();
|
||||
if (fileName.isEmpty())
|
||||
continue;
|
||||
if (!fileName.endsWith(extension))
|
||||
|
||||
Reference in New Issue
Block a user