debugger: fix partial display of children in locals and watchers

Change-Id: I4edc6875f3d24a75dd5554a01ae01946e5c9ae76
Reviewed-on: http://codereview.qt.nokia.com/209
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
hjk
2011-05-27 15:02:25 +02:00
committed by hjk
parent 7223cf00e6
commit f897108198

View File

@@ -1253,6 +1253,7 @@ class Dumper:
# #
# Locals # Locals
# #
locals = []
fullUpdateNeeded = True fullUpdateNeeded = True
if self.partialUpdate and len(varList) == 1 and not self.tooltipOnly: if self.partialUpdate and len(varList) == 1 and not self.tooltipOnly:
#warn("PARTIAL: %s" % varList) #warn("PARTIAL: %s" % varList)
@@ -1272,7 +1273,6 @@ class Dumper:
pass pass
varList = [] varList = []
locals = []
if fullUpdateNeeded and not self.tooltipOnly and not self.noLocals: if fullUpdateNeeded and not self.tooltipOnly and not self.noLocals:
locals = listOfLocals(varList) locals = listOfLocals(varList)