|
|
@ -40,7 +40,9 @@ class DebuggerSolidityLocals { |
|
|
|
self.traceManager.getCurrentCalledAddressAt], |
|
|
|
self.traceManager.getCurrentCalledAddressAt], |
|
|
|
self.parent.currentStepIndex, |
|
|
|
self.parent.currentStepIndex, |
|
|
|
(error, result) => { |
|
|
|
(error, result) => { |
|
|
|
if (!error) { |
|
|
|
if (error) { |
|
|
|
|
|
|
|
return console.log(error) |
|
|
|
|
|
|
|
} |
|
|
|
var stack = result[0].value |
|
|
|
var stack = result[0].value |
|
|
|
var memory = result[1].value |
|
|
|
var memory = result[1].value |
|
|
|
try { |
|
|
|
try { |
|
|
@ -56,9 +58,6 @@ class DebuggerSolidityLocals { |
|
|
|
} catch (e) { |
|
|
|
} catch (e) { |
|
|
|
self.event.trigger('solidityLocalsMessage', [e.message]) |
|
|
|
self.event.trigger('solidityLocalsMessage', [e.message]) |
|
|
|
} |
|
|
|
} |
|
|
|
} else { |
|
|
|
|
|
|
|
console.log(error) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}) |
|
|
|
}) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|