step initialization

pull/5370/head
aniket-engg 6 years ago
parent d0bd2a4a12
commit d82d0fbc0d
  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