Commit 4b93663a authored by hjk's avatar hjk

Debugger: Also escape special chars in elided displayed strings

Task-number: QTCREATORBUG-15486
Change-Id: Ie481b9458beb2e5ce1458abbd71d311561f961af
Reviewed-by: default avatarChristian Stenger <christian.stenger@theqtcompany.com>
parent edc149e3
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment