CppEditor: Add more details to soft assert

Change-Id: I9b95d212344decc82cda20608e0a1166ab679754
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
Christian Kandeler
2023-01-24 17:50:49 +01:00
parent f74cb26598
commit 5fcf6fc5a4

View File

@@ -178,6 +178,7 @@ void SemanticHighlighter::onHighlighterResultAvailable(int from, int to)
for (QTextBlock block = firstBlockForResult; block != endBlock; block = block.next()) {
QTC_ASSERT(block.isValid(),
qDebug() << from << to << i << result.line << result.column
<< result.kind << result.textStyles.mainStyle
<< firstBlockForResult.blockNumber() << firstBlockForResult.position()
<< lastBlockForResult.blockNumber() << lastBlockForResult.position();
break);