Commit f7d95b18 authored by aniket-engg's avatar aniket-engg

step initialization

parent 3b6666c9
...@@ -122,9 +122,10 @@ class DebuggerStepManager { ...@@ -122,9 +122,10 @@ class DebuggerStepManager {
stepOverForward (solidityMode) { stepOverForward (solidityMode) {
if (!this.traceManager.isLoaded()) return if (!this.traceManager.isLoaded()) return
var step = this.currentStepIndex + 1
let scope = this.debugger.callTree.findScope(this.currentStepIndex) let scope = this.debugger.callTree.findScope(this.currentStepIndex)
if (scope && scope.firstStep === this.currentStepIndex) { if (scope && scope.firstStep === this.currentStepIndex) {
var step = scope.lastStep step = scope.lastStep
} }
if (solidityMode) { if (solidityMode) {
step = this.resolveToReducedTrace(step, 1) step = this.resolveToReducedTrace(step, 1)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment