showing stepDetails on start

pull/5370/head
LianaHus 4 years ago committed by Liana Husikyan
parent b32e093a09
commit 0dfc03bf70
  1. 1
      src/app/tabs/debugger/debuggerUI/VmDebugger.js
  2. 3
      src/app/tabs/debugger/debuggerUI/vmDebugger/SolidityState.js
  3. 1
      src/app/tabs/debugger/debuggerUI/vmDebugger/StepDetail.js

@ -108,6 +108,7 @@ function VmDebugger (vmDebuggerLogic) {
self.functionPanel.basicPanel.show()
self.storagePanel.basicPanel.show()
self.memoryPanel.basicPanel.show()
self.stepDetail.basicPanel.show()
self.calldataPanel.basicPanel.show()
self.callstackPanel.basicPanel.show()
})

@ -26,7 +26,8 @@ SolidityState.prototype.setUpdating = function () {
SolidityState.prototype.render = function () {
if (this.view) return
this.view = yo`<div id='soliditystate' >
this.view = yo`
<div id='soliditystate' >
${this.basicPanel.render()}
</div>`
return this.view

@ -3,7 +3,6 @@ var DropdownPanel = require('./DropdownPanel')
function StepDetail () {
this.basicPanel = new DropdownPanel('Step details', {json: true, displayContentOnly: false})
this.basicPanel.show()
this.detail = { 'vm trace step': '-', 'execution step': '-', 'add memory': '', 'gas': '', 'remaining gas': '-', 'loaded address': '-' }
}

Loading…
Cancel
Save