debugger: speedup QVariant dumper

Essential for QObject, too.

Change-Id: Ie798227f6c8d07eff37e6dbadb7f6f5baa382ca8
Reviewed-on: http://codereview.qt.nokia.com/851
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
hjk
2011-06-28 16:31:31 +02:00
committed by hjk
parent 1a96bae4bd
commit 70c6ed0d82
3 changed files with 351 additions and 282 deletions

View File

@@ -1385,6 +1385,10 @@ class Dumper:
self.currentType = type
self.currentTypePriority = priority
def putBetterType(self, type, priority = 0):
self.currentType = type
self.currentTypePriority = self.currentTypePriority + 1
def putAddress(self, addr):
if self.printsAddress:
try: