forked from qt-creator/qt-creator
Debugger: simplify locals loop
The value name is already set in fromNativeValue Change-Id: I82cdaa33133cde431d23a0f20bd5c3d6d938cf7f Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -305,9 +305,7 @@ class Dumper(DumperBase):
|
|||||||
|
|
||||||
variables = []
|
variables = []
|
||||||
for val in cdbext.listOfLocals(self.partialVariable):
|
for val in cdbext.listOfLocals(self.partialVariable):
|
||||||
value = self.fromNativeValue(val)
|
variables.append(self.fromNativeValue(val))
|
||||||
value.name = val.name()
|
|
||||||
variables.append(value)
|
|
||||||
|
|
||||||
self.handleLocals(variables)
|
self.handleLocals(variables)
|
||||||
self.handleWatches(args)
|
self.handleWatches(args)
|
||||||
|
Reference in New Issue
Block a user