forked from qt-creator/qt-creator
Debugger: Also escape special chars in elided displayed strings
Task-number: QTCREATORBUG-15486 Change-Id: Ie481b9458beb2e5ce1458abbd71d311561f961af Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
@@ -570,7 +570,7 @@ QString WatchItem::formattedValue() const
|
||||
QString v = value;
|
||||
v.chop(1);
|
||||
QString len = elided > 0 ? QString::number(elided) : QLatin1String("unknown length");
|
||||
return v + QLatin1String("\"... (") + len + QLatin1Char(')');
|
||||
return quoteUnprintable(v) + QLatin1String("\"... (") + len + QLatin1Char(')');
|
||||
}
|
||||
|
||||
return quoteUnprintable(value);
|
||||
|
Reference in New Issue
Block a user