pull/7/head
yann300 8 years ago
parent 5ea84f979f
commit 89e5cdc0ae
  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.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)

@ -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)
}
})

Loading…
Cancel
Save