|
|
|
@ -123,12 +123,14 @@ function VmDebugger (vmDebuggerLogic) { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
VmDebugger.prototype.renderHead = function () { |
|
|
|
|
var headView = yo`<div id='vmheadView' class="${css.vmheadView} container">
|
|
|
|
|
<div class="row" > |
|
|
|
|
<div class="${css.asmCode} column">${this.asmCode.render()}</div> |
|
|
|
|
<div class="${css.stepDetail} column">${this.stepDetail.render()}</div> |
|
|
|
|
</div> |
|
|
|
|
</div>` |
|
|
|
|
const headView = yo` |
|
|
|
|
<div id="vmheadView" class="${css.vmheadView} container"> |
|
|
|
|
<div class="row" > |
|
|
|
|
<div class="${css.asmCode} column">${this.asmCode.render()}</div> |
|
|
|
|
<div class="${css.stepDetail} column">${this.stepDetail.render()}</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
` |
|
|
|
|
if (!this.headView) { |
|
|
|
|
this.headView = headView |
|
|
|
|
} |
|
|
|
@ -141,19 +143,21 @@ VmDebugger.prototype.remove = function () { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
VmDebugger.prototype.render = function () { |
|
|
|
|
var view = yo`<div id='vmdebugger'>
|
|
|
|
|
<div> |
|
|
|
|
${this.solidityLocals.render()} |
|
|
|
|
${this.solidityState.render()} |
|
|
|
|
${this.stackPanel.render()} |
|
|
|
|
${this.memoryPanel.render()} |
|
|
|
|
${this.storagePanel.render()} |
|
|
|
|
${this.callstackPanel.render()} |
|
|
|
|
${this.calldataPanel.render()} |
|
|
|
|
${this.returnValuesPanel.render()} |
|
|
|
|
${this.fullStoragesChangesPanel.render()} |
|
|
|
|
</div> |
|
|
|
|
</div>` |
|
|
|
|
const view = yo` |
|
|
|
|
<div id="vmdebugger"> |
|
|
|
|
<div> |
|
|
|
|
${this.solidityLocals.render()} |
|
|
|
|
${this.solidityState.render()} |
|
|
|
|
${this.stackPanel.render()} |
|
|
|
|
${this.memoryPanel.render()} |
|
|
|
|
${this.storagePanel.render()} |
|
|
|
|
${this.callstackPanel.render()} |
|
|
|
|
${this.calldataPanel.render()} |
|
|
|
|
${this.returnValuesPanel.render()} |
|
|
|
|
${this.fullStoragesChangesPanel.render()} |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
` |
|
|
|
|
if (!this.view) { |
|
|
|
|
this.view = view |
|
|
|
|
} |
|
|
|
|