Debugger: Fix QDir dumper for Cdb

Calling functions is currently not supported in the
cdb python dumper.

Change-Id: I07da5ba93ea3ad838e758ca79062ae9aa4e8fabc
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
David Schulz
2016-10-12 14:40:30 +02:00
parent b01119543f
commit 9ad46e7d04

View File

@@ -353,7 +353,8 @@ def qdump__QDateTime(d, value):
def qdump__QDir(d, value):
d.putNumChild(1)
if not d.isMsvcTarget():
d.putNumChild(1)
privAddress = d.extractPointer(value)
bit32 = d.ptrSize() == 4
qt5 = d.qtVersion() >= 0x050000
@@ -424,7 +425,7 @@ def qdump__QDir(d, value):
absoluteDirEntryOffset = dirEntryOffset + fileSystemEntrySize
d.putStringValue(privAddress + dirEntryOffset)
if d.isExpanded():
if d.isExpanded() and not d.isMsvcTarget():
with Children(d):
ns = d.qtNamespace()
d.call('int', value, 'count') # Fill cache.