Debugger: Fix retrieval of single expanded items

It was falling into the full update branch as the passed
parameter was not a list anymore.

Change-Id: I314beb3a68f8791483a599c7d5782fd454983840
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
hjk
2015-03-26 11:26:50 +01:00
parent 4846040e56
commit 55712e3ca9
+3 -3
View File
@@ -246,7 +246,7 @@ class Dumper(DumperBase):
# dumpers causing loading of shared objects etc).
self.currentQtNamespaceGuess = None
self.varList = args.get("vars", [])
self.partialVariable = args.get("vars", "")
self.resultVarName = args.get("resultvarname", "")
self.expandedINames = set(args.get("expanded", []))
self.stringCutOff = int(args.get("stringcutoff", 10000))
@@ -368,9 +368,9 @@ class Dumper(DumperBase):
if self.qmlcontext:
locals = self.extractQmlVariables(self.qmlcontext)
elif self.partialUpdate and len(self.varList) == 1:
elif self.partialUpdate:
#warn("PARTIAL: %s" % self.varList)
parts = self.varList[0].split('.')
parts = self.partialVariable.split('.')
#warn("PARTIAL PARTS: %s" % parts)
name = parts[1]
#warn("PARTIAL VAR: %s" % name)