From 9a6c90b2f0e0de1f431d282a0bc81ab939454bcf Mon Sep 17 00:00:00 2001 From: yann300 Date: Tue, 13 Dec 2016 10:42:05 +0100 Subject: [PATCH] Fix for browser solidity --- src/ui/Ethdebugger.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ui/Ethdebugger.js b/src/ui/Ethdebugger.js index 7648aab5e5..9c92ba2913 100644 --- a/src/ui/Ethdebugger.js +++ b/src/ui/Ethdebugger.js @@ -30,7 +30,8 @@ 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, { 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) { self.codeManager.resolveStep(index, self.tx)