forked from qt-creator/qt-creator
CDB: Dump Qt 5 / QString correctly.
Adapt to recent change basing QStringData on QTypedArrayData. Change-Id: I8145015e31ca10bc484d01e8082a2f97d6750285 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -1495,7 +1495,10 @@ static inline bool dumpQString(const SymbolGroupValue &v, std::wostream &str)
|
|||||||
wchar_t *memory;
|
wchar_t *memory;
|
||||||
unsigned fullSize;
|
unsigned fullSize;
|
||||||
unsigned size;
|
unsigned size;
|
||||||
if (!readQt5StringData(dV, qtInfo.version, true, 10240, &fullSize, &size, &memory))
|
const SymbolGroupValue typeArrayV = dV[unsigned(0)];
|
||||||
|
if (!typeArrayV)
|
||||||
|
return false;
|
||||||
|
if (!readQt5StringData(typeArrayV, qtInfo.version, true, 10240, &fullSize, &size, &memory))
|
||||||
return false;
|
return false;
|
||||||
if (size) {
|
if (size) {
|
||||||
str << L'"' << memory;
|
str << L'"' << memory;
|
||||||
|
Reference in New Issue
Block a user