Commit d077a047 authored by aniket-engg's avatar aniket-engg Committed by Aniket

debugger ans solidityLocals updated

parent f57be84d
This diff is collapsed.
const EventManager = require('../eventManager') const EventManager = require('../eventManager')
const localDecoder = require('../solidity-decoder/localDecoder') const localDecoder = require('../solidity-decoder/localDecoder')
const StorageViewer = require('../storage/storageViewer') const StorageViewer = require('../storage/storageViewer')
class DebuggerSolidityLocals { export class DebuggerSolidityLocals {
event
stepManager
internalTreeCall
storageResolver
traceManager
tx
_sourceLocation
constructor (tx, _stepManager, _traceManager, _internalTreeCall) { constructor (tx, _stepManager, _traceManager, _internalTreeCall) {
this.event = new EventManager() this.event = new EventManager()
this.stepManager = _stepManager this.stepManager = _stepManager
...@@ -28,7 +36,7 @@ class DebuggerSolidityLocals { ...@@ -28,7 +36,7 @@ class DebuggerSolidityLocals {
}, 500) }, 500)
} }
decode (sourceLocation, cursor) { decode (sourceLocation, cursor?) {
const self = this const self = this
this.event.trigger('solidityLocalsMessage', ['']) this.event.trigger('solidityLocalsMessage', [''])
this.traceManager.waterfall([ this.traceManager.waterfall([
...@@ -94,5 +102,3 @@ class DebuggerSolidityLocals { ...@@ -94,5 +102,3 @@ class DebuggerSolidityLocals {
}, 500) }, 500)
} }
} }
module.exports = DebuggerSolidityLocals
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