From 9ee1f0c2c10b856499ece4672bd32172356663c4 Mon Sep 17 00:00:00 2001 From: LianaHus Date: Thu, 2 Jul 2020 17:01:49 +0200 Subject: [PATCH] showing stepDetails on start --- apps/remix-ide/src/app/tabs/debugger/debuggerUI/VmDebugger.js | 1 + .../app/tabs/debugger/debuggerUI/vmDebugger/SolidityState.js | 3 ++- .../src/app/tabs/debugger/debuggerUI/vmDebugger/StepDetail.js | 1 - 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/remix-ide/src/app/tabs/debugger/debuggerUI/VmDebugger.js b/apps/remix-ide/src/app/tabs/debugger/debuggerUI/VmDebugger.js index 12adff3979..5936d1c720 100644 --- a/apps/remix-ide/src/app/tabs/debugger/debuggerUI/VmDebugger.js +++ b/apps/remix-ide/src/app/tabs/debugger/debuggerUI/VmDebugger.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() }) diff --git a/apps/remix-ide/src/app/tabs/debugger/debuggerUI/vmDebugger/SolidityState.js b/apps/remix-ide/src/app/tabs/debugger/debuggerUI/vmDebugger/SolidityState.js index 7fb8455571..cd7363045b 100644 --- a/apps/remix-ide/src/app/tabs/debugger/debuggerUI/vmDebugger/SolidityState.js +++ b/apps/remix-ide/src/app/tabs/debugger/debuggerUI/vmDebugger/SolidityState.js @@ -26,7 +26,8 @@ SolidityState.prototype.setUpdating = function () { SolidityState.prototype.render = function () { if (this.view) return - this.view = yo`
+ this.view = yo` +
${this.basicPanel.render()}
` return this.view diff --git a/apps/remix-ide/src/app/tabs/debugger/debuggerUI/vmDebugger/StepDetail.js b/apps/remix-ide/src/app/tabs/debugger/debuggerUI/vmDebugger/StepDetail.js index 8f6219559b..de8765b190 100644 --- a/apps/remix-ide/src/app/tabs/debugger/debuggerUI/vmDebugger/StepDetail.js +++ b/apps/remix-ide/src/app/tabs/debugger/debuggerUI/vmDebugger/StepDetail.js @@ -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': '-' } }