summaryrefslogtreecommitdiffstats
path: root/tools/qdoc3
diff options
context:
space:
mode:
authorMartin Smith <msmith@trolltech.com>2010-03-08 11:49:01 (GMT)
committerMartin Smith <msmith@trolltech.com>2010-03-08 11:49:01 (GMT)
commitf471b125c04a559c6e76bb69b2875bddf01ed2f6 (patch)
tree3616d737004255a40701bb1efa5d8f5e8cded5f8 /tools/qdoc3
parentde20e4df5f6a212115d10c225f945ab1610319ba (diff)
downloadQt-f471b125c04a559c6e76bb69b2875bddf01ed2f6.zip
Qt-f471b125c04a559c6e76bb69b2875bddf01ed2f6.tar.gz
Qt-f471b125c04a559c6e76bb69b2875bddf01ed2f6.tar.bz2
qdoc: Added some debug output to track down a crash
The crash doesn't happen on my OS X 10.4.
Diffstat (limited to 'tools/qdoc3')
-rw-r--r--tools/qdoc3/node.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/qdoc3/node.cpp b/tools/qdoc3/node.cpp
index 5415559..1dec17e 100644
--- a/tools/qdoc3/node.cpp
+++ b/tools/qdoc3/node.cpp
@@ -1305,8 +1305,8 @@ QString QmlClassNode::fileBase() const
*/
void QmlClassNode::addInheritedBy(const QString& base, Node* sub)
{
- //qDebug() << "QmlClassNode::addInheritedBy(): insert" << base << sub->name();
inheritedBy.insert(base,sub);
+ qDebug() << "QmlClassNode::addInheritedBy(): insert" << base << sub->name() << inheritedBy.size();
}
/*!
@@ -1318,7 +1318,7 @@ void QmlClassNode::subclasses(const QString& base, NodeList& subs)
if (inheritedBy.count(base) > 0) {
subs = inheritedBy.values(base);
qDebug() << "QmlClassNode::subclasses():" << inheritedBy.count(base) << base
- << "subs:" << subs.size();
+ << "subs:" << subs.size() << "total size:" << inheritedBy.size();
}
}