forked from qt-creator/qt-creator
Debugger: Make C array data plottable
Change-Id: Ib4519f0e64504ec0e3dccd89978acca5134b2932 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
@@ -1007,6 +1007,9 @@ DisplayFormats WatchItem::typeFormatList() const
|
||||
t.replace(QLatin1Char(':'), QLatin1Char('_'));
|
||||
formats << watchModel()->m_reportedTypeFormats.value(t);
|
||||
|
||||
if (t.contains(QLatin1Char(']')))
|
||||
formats << watchModel()->m_reportedTypeFormats.value(QLatin1String("[]"));
|
||||
|
||||
// Fixed artificial string and pointer types.
|
||||
if (origaddr || isPointerType(type)) {
|
||||
formats.append(RawFormat);
|
||||
|
||||
Reference in New Issue
Block a user