forked from qt-creator/qt-creator
Debugger: Fix build with Qt6
QStringRef gone. ViewOptions changed. MetaType register stream operators automatically. Task-number: QTCREATORBUG-24098 Change-Id: Ibf98561af951aa5fc4ec483d18dafeaad02e07c3 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -499,7 +499,7 @@ void PdbEngine::handleOutput2(const QString &data)
|
||||
QTC_ASSERT(pos2 != -1, continue);
|
||||
const Utils::FilePath fileName = Utils::FilePath::fromString(
|
||||
line.mid(pos1 + 4, pos2 - pos1 - 4));
|
||||
const int lineNumber = line.midRef(pos2 + 1).toInt();
|
||||
const int lineNumber = line.mid(pos2 + 1).toInt();
|
||||
const Breakpoint bp = Utils::findOrDefault(breakHandler()->breakpoints(), [&](const Breakpoint &bp) {
|
||||
return bp->parameters().isLocatedAt(fileName, lineNumber, bp->markerFileName())
|
||||
|| bp->requestedParameters().isLocatedAt(fileName, lineNumber, bp->markerFileName());
|
||||
|
||||
Reference in New Issue
Block a user