Debugger: Make C array data plottable

Change-Id: Ib4519f0e64504ec0e3dccd89978acca5134b2932
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
hjk
2015-04-01 08:32:50 +02:00
parent be24c441f5
commit d66e063165
2 changed files with 21 additions and 2 deletions

View File

@@ -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);