pull/7/head
yann300 8 years ago
parent d599f95a2b
commit 8e5b7ec0e3
  1. 2
      src/ui/Ethdebugger.js
  2. 4
      src/ui/SolidityLocals.js

@ -30,7 +30,7 @@ function Ethdebugger () {
this.codeManager = new CodeManager(this.traceManager) this.codeManager = new CodeManager(this.traceManager)
this.solidityProxy = new SolidityProxy(this.traceManager, this.codeManager) 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) { this.event.register('indexChanged', this, function (index) {
self.codeManager.resolveStep(index, self.tx) self.codeManager.resolveStep(index, self.tx)

@ -29,11 +29,11 @@ class SolidityLocals {
this.traceManager.getStackAt, this.traceManager.getStackAt,
this.traceManager.getMemoryAt], this.traceManager.getMemoryAt],
index, index,
function (error, result) { (error, result) => {
if (!error) { if (!error) {
var stack = result[0].value var stack = result[0].value
var memory = result[1].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) this.basicPanel.update(locals)
} }
}) })

Loading…
Cancel
Save