step initialization

pull/7/head
aniket-engg 5 years ago
parent 3b6666c93e
commit f7d95b1836
  1. 3
      remix-debug/src/debugger/stepManager.js

@ -122,9 +122,10 @@ class DebuggerStepManager {
stepOverForward (solidityMode) {
if (!this.traceManager.isLoaded()) return
var step = this.currentStepIndex + 1
let scope = this.debugger.callTree.findScope(this.currentStepIndex)
if (scope && scope.firstStep === this.currentStepIndex) {
var step = scope.lastStep
step = scope.lastStep
}
if (solidityMode) {
step = this.resolveToReducedTrace(step, 1)

Loading…
Cancel
Save