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>
This commit is contained in:
hjk
2016-08-01 12:22:26 +02:00
committed by hjk
parent 33b73c5cc4
commit d1109c50e0

View File

@@ -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)