diff options
author | hjk <hjk@qt.io> | 2019-07-31 12:37:43 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2019-07-31 12:18:02 +0000 |
commit | ae66f63390cf1165bba1d00e7b79b27d36498501 (patch) | |
tree | bc531ff03cb1ae2ab69bf5a7ea0fd15bcdac4775 | |
parent | 5d3010a722d2b90bcdf870e7ba04e8a87f790707 (diff) |
Debugger: Disable QObject connection and signal display
Besides the announced change to QObject guts in a5a859e72 there has been
at least 6e0b5dadc and possibly more, so give up here.
Change-Id: I84201cef9f2a7515f082f4c3310bdc96f7a4216d
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
-rw-r--r-- | share/qtcreator/debugger/dumper.py | 6 | ||||
-rw-r--r-- | share/qtcreator/debugger/qttypes.py | 6 | ||||
-rw-r--r-- | tests/auto/debugger/tst_dumpers.cpp | 5 |
3 files changed, 11 insertions, 6 deletions
diff --git a/share/qtcreator/debugger/dumper.py b/share/qtcreator/debugger/dumper.py index 341ceb7145..1401926858 100644 --- a/share/qtcreator/debugger/dumper.py +++ b/share/qtcreator/debugger/dumper.py @@ -1994,14 +1994,16 @@ class DumperBase: with Children(self): self.putQObjectGutsHelper(0, 0, -1, metaObjectPtr, 'QMetaObject') - with SubItem(self, '[connections]'): + if False: + with SubItem(self, '[connections]'): if connectionListsPtr: typeName = '@QObjectConnectionListVector' self.putItem(self.createValue(connectionListsPtr, typeName)) else: self.putItemCount(0) - with SubItem(self, '[signals]'): + if False: + with SubItem(self, '[signals]'): self.putItemCount(signalCount) if self.isExpanded(): with Children(self): diff --git a/share/qtcreator/debugger/qttypes.py b/share/qtcreator/debugger/qttypes.py index 864b229953..a584e24e84 100644 --- a/share/qtcreator/debugger/qttypes.py +++ b/share/qtcreator/debugger/qttypes.py @@ -1211,7 +1211,8 @@ def qdump__QMetaObject(d, value): d.putMembersItem(value) -def qdump__QObjectPrivate__ConnectionList(d, value): +if False: + def qdump__QObjectPrivate__ConnectionList(d, value): d.putNumChild(1) if d.isExpanded(): i = 0 @@ -1948,7 +1949,8 @@ def qdump__QVector(d, value): d.putItemCount(size) d.putPlotData(data, size, value.type[0]) -def qdump__QObjectConnectionList(d, value): +if False: + def qdump__QObjectConnectionList(d, value): dd = d.extractPointer(value) data, size, alloc = d.vectorDataHelper(dd) d.check(0 <= size and size <= alloc and alloc <= 1000 * 1000 * 1000) diff --git a/tests/auto/debugger/tst_dumpers.cpp b/tests/auto/debugger/tst_dumpers.cpp index f6b3cd8b56..b179882643 100644 --- a/tests/auto/debugger/tst_dumpers.cpp +++ b/tests/auto/debugger/tst_dumpers.cpp @@ -2837,8 +2837,9 @@ void tst_Dumpers::dumper_data() + Check("ob", "\"An Object\"", "@QWidget") + Check("ob1", "\"Another Object\"", "@QObject") + Check("ob2", "\"A Subobject\"", "@QObject") - + Check("ob.[extra].[connections].@1.0.0.receiver", "\"Another Object\"", - "@QObject") % NoCdbEngine % QtVersion(0x50b00); + //+ Check("ob.[extra].[connections].@1.0.0.receiver", "\"Another Object\"", + // "@QObject") % NoCdbEngine % QtVersion(0x50b00) + ; QString senderData = |