summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorhjk <hjk@theqtcompany.com>2016-08-01 12:22:26 +0200
committerhjk <hjk@qt.io>2016-08-01 10:45:47 +0000
commitd1109c50e09b66ca6fed3fb5f5ac133211b70c2d (patch)
tree13ab41b36a183e0d55f3cd062e0d87e377d47217 /share
parent33b73c5cc43cdcefcfef395919f8a9760164cb0f (diff)
downloadqt-creator-d1109c50e09b66ca6fed3fb5f5ac133211b70c2d.tar.gz
Debugger: Deactivate metaObject extraction by inferior call
This seems to have side-effects on memory contents. Right now it is unclear what happens exactly, so revert for 4.1rc. Change-Id: I7b1b8e376ac84b6656b1abdae720d7bead1c0b89 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'share')
-rw-r--r--share/qtcreator/debugger/dumper.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/share/qtcreator/debugger/dumper.py b/share/qtcreator/debugger/dumper.py
index dfb4ca26aa..ac9d2b59fa 100644
--- a/share/qtcreator/debugger/dumper.py
+++ b/share/qtcreator/debugger/dumper.py
@@ -1351,6 +1351,11 @@ class DumperBase:
return True
def extractMetaObjectPtrFromAddress():
+ return 0
+ # FIXME: Calling "works" but seems to impact memory contents(!)
+ # in relevant places. One symptom is that object name
+ # contents "vanishes" as the reported size of the string
+ # gets zeroed out(?).
# Try vtable, metaObject() is the first entry.
vtablePtr = self.extractPointer(objectPtr)
metaObjectFunc = self.extractPointer(vtablePtr)