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