Commit 9a6c90b2 authored by yann300's avatar yann300

Fix for browser solidity

parent ee63b0a4
...@@ -30,7 +30,8 @@ function Ethdebugger () { ...@@ -30,7 +30,8 @@ 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, { includeLocalVariables: true }) var callTree = new InternalCallTree(this.event, this.traceManager, this.solidityProxy, this.codeManager, { includeLocalsVariables: true })
this.callTree = callTree // TODO: currently used by browser solidity, we should improve the API
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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment