forked from qt-creator/qt-creator
Debugger: Also copy fallback data on Copy View Contents to Editor
Getting e.g. an object's address is better than an empty value. Change-Id: Ia78335da8b9eadeadc2e6f1757399ae604eb6610 Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
This commit is contained in:
@@ -1787,7 +1787,7 @@ static void showInEditorHelper(const WatchItem *item, QTextStream &ts, int depth
|
||||
{
|
||||
const QChar tab = QLatin1Char('\t');
|
||||
const QChar nl = QLatin1Char('\n');
|
||||
ts << QString(depth, tab) << item->name << tab << item->value << tab
|
||||
ts << QString(depth, tab) << item->name << tab << displayValue(item) << tab
|
||||
<< item->type << nl;
|
||||
foreach (const TreeItem *child, item->children())
|
||||
showInEditorHelper(static_cast<const WatchItem *>(child), ts, depth + 1);
|
||||
|
||||
Reference in New Issue
Block a user