forked from qt-creator/qt-creator
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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user