diff --git a/src/ui/Ethdebugger.js b/src/ui/Ethdebugger.js index 373e37dab8..6bfa55b629 100644 --- a/src/ui/Ethdebugger.js +++ b/src/ui/Ethdebugger.js @@ -30,7 +30,7 @@ function Ethdebugger () { this.codeManager = new CodeManager(this.traceManager) this.solidityProxy = new SolidityProxy(this.traceManager, this.codeManager) - var callTree = new InternalCallTree(this.event, this.traceManager, this.solidityProxy, this.codeManager) + var callTree = new InternalCallTree(this.event, this.traceManager, this.solidityProxy, this.codeManager, { includeLocalsVariables: true }) this.event.register('indexChanged', this, function (index) { self.codeManager.resolveStep(index, self.tx) diff --git a/src/ui/SolidityLocals.js b/src/ui/SolidityLocals.js index aadc4280c3..afbca77a78 100644 --- a/src/ui/SolidityLocals.js +++ b/src/ui/SolidityLocals.js @@ -29,11 +29,11 @@ class SolidityLocals { this.traceManager.getStackAt, this.traceManager.getMemoryAt], index, - function (error, result) { + (error, result) => { if (!error) { var stack = result[0].value var memory = result[1].value - var locals = localDecoder.soliditylocals(index, this.internalTreeCall, stack, memory) + var locals = localDecoder.solidityLocals(index, this.internalTreeCall, stack, memory) this.basicPanel.update(locals) } })