forked from qt-creator/qt-creator
Debugger: Update subtree if partial variable is requested
Instead of dumping the complete locals just dump the subtree with the partial variable. Change-Id: Ieac5f62efd87144bbea7a6a559d8be8d48d9084e Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -267,11 +267,9 @@ class Dumper(DumperBase):
|
||||
self.anonNumber = 0
|
||||
|
||||
variables = []
|
||||
for val in cdbext.listOfLocals():
|
||||
self.currentContextValue = val
|
||||
name = val.name()
|
||||
for val in cdbext.listOfLocals(self.partialVariable):
|
||||
value = self.fromNativeValue(val)
|
||||
value.name = name
|
||||
value.name = val.name()
|
||||
variables.append(value)
|
||||
|
||||
self.handleLocals(variables)
|
||||
|
Reference in New Issue
Block a user