solidityState and stepManager updated

pull/5370/head
aniket-engg 4 years ago committed by Aniket
parent d57368bcf7
commit 9bfe52c911
  1. 14
      libs/remix-debug/src/debugger/solidityState.ts
  2. 16
      libs/remix-debug/src/debugger/stepManager.ts

@ -2,7 +2,17 @@ const EventManager = require('../eventManager')
const stateDecoder = require('../solidity-decoder/stateDecoder')
const StorageViewer = require('../storage/storageViewer')
class DebuggerSolidityState {
export class DebuggerSolidityState {
event
storageResolver
stepManager
traceManager
codeManager
solidityProxy
stateVariablesByAddresses
tx
constructor (tx, _stepManager, _traceManager, _codeManager, _solidityProxy) {
this.event = new EventManager()
this.storageResolver = null
@ -75,5 +85,3 @@ class DebuggerSolidityState {
})
}
}
module.exports = DebuggerSolidityState

@ -1,8 +1,16 @@
const remixLib = require('@remix-project/remix-lib')
import { util } from '@remix-project/remix-lib'
const EventManager = require('../eventManager')
const util = remixLib.util
class DebuggerStepManager {
export class DebuggerStepManager {
event
debugger
traceManager
currentStepIndex: number
traceLength: number
codeTraceLength: number
revertionPoint
currentCall
constructor (_debugger, traceManager) {
this.event = new EventManager()
@ -205,5 +213,3 @@ class DebuggerStepManager {
}
}
module.exports = DebuggerStepManager

Loading…
Cancel
Save