diff options
author | Friedemann Kleint <[email protected]> | 2009-10-02 15:17:50 +0200 |
---|---|---|
committer | Friedemann Kleint <[email protected]> | 2009-10-02 15:17:50 +0200 |
commit | 1fad39c9234839617470b3ff626d4e3f1311da1a (patch) | |
tree | b23a88fdffdfe10cab12ae30a40e1f348df64e84 /src/plugins/debugger/watchutils.cpp | |
parent | 0cc5f14f299fa498ab66e6b54d496f3f18b42e6a (diff) |
CDB: Fix dumper regression
- Do not deref d-ptr when checking on QVariants of PODS
- Make type/value fixing of dumper results more fine-grained
- Allow children in expandPtrToDumpage (QWidget-Pointers)
- Fix broken size cache (queuePrefix was empty)
- Compile
Diffstat (limited to 'src/plugins/debugger/watchutils.cpp')
-rw-r--r-- | src/plugins/debugger/watchutils.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/debugger/watchutils.cpp b/src/plugins/debugger/watchutils.cpp index 8208cb4fcf1..a494c0d7000 100644 --- a/src/plugins/debugger/watchutils.cpp +++ b/src/plugins/debugger/watchutils.cpp @@ -560,7 +560,7 @@ QString QtDumperHelper::toString(bool debug) const str << "\nSize cache: "; const SizeCache::const_iterator scend = m_sizeCache.constEnd(); for (SizeCache::const_iterator it = m_sizeCache.constBegin(); it != scend; ++it) { - str << ' ' << it.key() << '=' << it.value(); + str << ' ' << it.key() << '=' << it.value() << '\n'; } str << "\nExpression cache: (" << m_expressionCache.size() << ")\n"; const QMap<QString, QString>::const_iterator excend = m_expressionCache.constEnd(); @@ -888,6 +888,7 @@ void QtDumperHelper::setQClassPrefixes(const QString &qNamespace) m_qListPrefix = qClassName(qNamespace, "QList"); m_qLinkedListPrefix = qClassName(qNamespace, "QLinkedList"); m_qVectorPrefix = qClassName(qNamespace, "QVector"); + m_qQueuePrefix = qClassName(qNamespace, "QQueue"); } static inline double getDumperVersion(const GdbMi &contents) |