forked from qt-creator/qt-creator
Debugger[CDB]: Fix CDB not showing QList<const char*>.
as it cannot determine the size of 'char const*' which it reports as type. Reviewed-by: hjk Task-number: QTCREATORBUG-4253
This commit is contained in:
@@ -1065,9 +1065,11 @@ extern "C" HRESULT CALLBACK test(CIDebugClient *client, PCSTR argsIn)
|
||||
break;
|
||||
case TestType: {
|
||||
const KnownType kt = knownType(testType, 0);
|
||||
str << testType << ' ' << kt << " [";
|
||||
const std::string fixed = SymbolGroupValue::stripConst(testType);
|
||||
const unsigned size = SymbolGroupValue::sizeOf(fixed.c_str());
|
||||
str << '"' << testType << "\" (" << fixed << ") " << kt << " [";
|
||||
formatKnownTypeFlags(str, kt);
|
||||
str << ']';
|
||||
str << "] size=" << size;
|
||||
}
|
||||
break;
|
||||
case TestFixWatchExpression:
|
||||
|
||||
Reference in New Issue
Block a user