summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2008-12-18 10:11:10 +0100
committerhjk <qtc-committer@nokia.com>2008-12-18 10:11:10 +0100
commit3bd633ef048f13987fbc204d0b790587e0060d5b (patch)
tree96c8b0d68e2226235b57820e8db82ca39af93f07 /bin
parentb7fe1e79374add9edcf3a8df340f80886b2ecfc2 (diff)
downloadqt-creator-3bd633ef048f13987fbc204d0b790587e0060d5b.tar.gz
move some of the code for handling template types from creator proper
to the "user space" (gdbmacros.cpp)
Diffstat (limited to 'bin')
-rw-r--r--bin/gdbmacros/gdbmacros.cpp29
1 files changed, 17 insertions, 12 deletions
diff --git a/bin/gdbmacros/gdbmacros.cpp b/bin/gdbmacros/gdbmacros.cpp
index e99c4dc8a1..0802d54a70 100644
--- a/bin/gdbmacros/gdbmacros.cpp
+++ b/bin/gdbmacros/gdbmacros.cpp
@@ -2439,23 +2439,23 @@ void qDumpObjectData440(
d.protocolVersion = protocolVersion;
d.token = token;
- //qDebug() << "SOCKET: after connect: state: " << qDumperSocket.state();
- // simpledumpers is a list of all available dumpers that are
- // _not_ templates. templates currently require special
- // hardcoded handling in the debugger plugin.
- // don't mention them here in this list
- d << "simpledumpers=["
+ // This is a list of all available dumpers. Note that some templates
+ // currently require special hardcoded handling in the debugger plugin.
+ // They are mentioned here nevertheless. For types that not listed
+ // here, dumpers won't be used.
+ d << "dumpers=["
"\""NS"QByteArray\","
+ "\""NS"QDateTime\","
"\""NS"QDir\","
- "\""NS"QImage\","
"\""NS"QFile\","
"\""NS"QFileInfo\","
+ "\""NS"QHash\","
+ "\""NS"QHashNode\","
+ "\""NS"QImage\","
"\""NS"QLocale\","
+ "\""NS"QMap\","
+ "\""NS"QMapNode\","
"\""NS"QModelIndex\","
- //"\""NS"QHash\"," // handled on GH side
- //"\""NS"QHashNode\","
- //"\""NS"QMap\"," // handled on GH side
- //"\""NS"QMapNode\","
"\""NS"QObject\","
"\""NS"QObjectMethodList\"," // hack to get nested properties display
"\""NS"QObjectPropertyList\","
@@ -2465,15 +2465,20 @@ void qDumpObjectData440(
"\""NS"QObjectSlot\","
"\""NS"QObjectSlotList\","
#endif // PRIVATE_OBJECT_ALLOWED
+ "\""NS"QSet\","
"\""NS"QString\","
"\""NS"QStringList\","
"\""NS"QTextCodec\","
"\""NS"QVariant\","
+ "\""NS"QVector\","
"\""NS"QWidget\","
- "\""NS"QDateTime\","
"\"string\","
"\"wstring\","
+ "\"std::basic_string\","
+ "\"std::list\","
+ "\"std::map\","
"\"std::string\","
+ "\"std::vector\","
"\"std::wstring\","
// << "\""NS"QRegion\","
"]";