move all logic to same folder; move vmdebugger logic inside debugger

pull/3094/head
Iuri Matias 6 years ago committed by yann300
parent 7aa09de9db
commit 74051d356a
  1. 0
      src/app/debugger/debugger/SolidityLocals.js
  2. 0
      src/app/debugger/debugger/VmDebugger.js
  3. 3
      src/app/debugger/debugger/debugger.js
  4. 0
      src/app/debugger/debugger/solidityState.js
  5. 4
      src/app/debugger/debuggerUI.js

@ -4,6 +4,7 @@ var remixLib = require('remix-lib')
var EventManager = remixLib.EventManager
var StepManager = require('./stepManager')
var VmDebuggerLogic = require('./VmDebugger')
function Debugger (options) {
var self = this
@ -89,6 +90,8 @@ Debugger.prototype.debug = function (parent) {
}
})
})
this.vmDebuggerLogic = new VmDebuggerLogic(parent, this.debugger.traceManager, this.debugger.codeManager, this.debugger.solidityProxy, this.debugger.callTree)
}
module.exports = Debugger

@ -3,7 +3,6 @@ var StepManagerUI = require('./debuggerUI/StepManager')
var VmDebugger = require('./debuggerUI/VmDebugger')
var Debugger = require('./debugger/debugger')
var VmDebuggerLogic = require('./VmDebugger')
var SourceHighlighter = require('../editor/sourceHighlighter')
@ -173,8 +172,7 @@ class DebuggerUI {
self.stepChanged(stepIndex)
})
this.vmDebuggerLogic = new VmDebuggerLogic(this, this.transactionDebugger.debugger.traceManager, this.transactionDebugger.debugger.codeManager, this.transactionDebugger.debugger.solidityProxy, this.transactionDebugger.debugger.callTree)
this.vmDebugger = new VmDebugger(this.vmDebuggerLogic)
this.vmDebugger = new VmDebugger(this.transactionDebugger.vmDebuggerLogic)
this.andAddVmDebugger()
this.transactionDebugger.debugger.debug(tx)

Loading…
Cancel
Save