|
|
@ -7,7 +7,7 @@ var util = require('../helpers/util') |
|
|
|
|
|
|
|
|
|
|
|
class InternalCallTree { |
|
|
|
class InternalCallTree { |
|
|
|
constructor (debuggerEvent, traceManager, solidityProxy, codeManager, opts) { |
|
|
|
constructor (debuggerEvent, traceManager, solidityProxy, codeManager, opts) { |
|
|
|
this.includeLocalsVariables = opts.includeLocalsVariables |
|
|
|
this.includeLocalVariables = opts.includeLocalVariables |
|
|
|
this.event = new EventManager() |
|
|
|
this.event = new EventManager() |
|
|
|
this.solidityProxy = solidityProxy |
|
|
|
this.solidityProxy = solidityProxy |
|
|
|
this.traceManager = traceManager |
|
|
|
this.traceManager = traceManager |
|
|
@ -68,7 +68,7 @@ function buildTree (tree, step, scopeId, trace) { |
|
|
|
tree.scopes[scopeId].lastStep = step |
|
|
|
tree.scopes[scopeId].lastStep = step |
|
|
|
return step + 1 |
|
|
|
return step + 1 |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
if (tree.includeLocalsVariables) { |
|
|
|
if (tree.includeLocalVariables) { |
|
|
|
var variableDeclaration = resolveVariableDeclaration(tree, step, sourceLocation) |
|
|
|
var variableDeclaration = resolveVariableDeclaration(tree, step, sourceLocation) |
|
|
|
if (variableDeclaration) { |
|
|
|
if (variableDeclaration) { |
|
|
|
if (!tree.scopes[scopeId].locals) { |
|
|
|
if (!tree.scopes[scopeId].locals) { |
|
|
|