Debugger: Skip QLocale dumper for cdb

This dumper relies heavily on calling functions which isn't
supported by the cdb interface.

Change-Id: Iff839a619736755024dd3f406414d352ee543012
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
David Schulz
2017-01-27 13:51:37 +01:00
parent 763330030f
commit a9a1f80f3a

View File

@@ -905,6 +905,9 @@ def qdump__QLinkedList(d, value):
qqLocalesCount = None qqLocalesCount = None
def qdump__QLocale(d, value): def qdump__QLocale(d, value):
if d.isMsvcTarget(): # as long as this dumper relies on calling functions skip it for cdb
return
# Check for uninitialized 'index' variable. Retrieve size of # Check for uninitialized 'index' variable. Retrieve size of
# QLocale data array from variable in qlocale.cpp. # QLocale data array from variable in qlocale.cpp.
# Default is 368 in Qt 4.8, 438 in Qt 5.0.1, the last one # Default is 368 in Qt 4.8, 438 in Qt 5.0.1, the last one