Commit 6f3dba44 authored by yann300's avatar yann300

fix stepoverback stepoverforward

parent ad1749fb
...@@ -153,7 +153,7 @@ StepManager.prototype.stepOverForward = function () { ...@@ -153,7 +153,7 @@ StepManager.prototype.stepOverForward = function () {
} }
var step = this.traceManager.findStepOverForward(this.currentStepIndex) var step = this.traceManager.findStepOverForward(this.currentStepIndex)
if (this.solidityMode) { if (this.solidityMode) {
step = this.resolveToReducedTrace(step, 0) step = this.resolveToReducedTrace(step, 1)
} }
this.slider.setValue(step) this.slider.setValue(step)
this.changeState(step) this.changeState(step)
...@@ -165,7 +165,7 @@ StepManager.prototype.stepOverBack = function () { ...@@ -165,7 +165,7 @@ StepManager.prototype.stepOverBack = function () {
} }
var step = this.traceManager.findStepOverBack(this.currentStepIndex) var step = this.traceManager.findStepOverBack(this.currentStepIndex)
if (this.solidityMode) { if (this.solidityMode) {
step = this.resolveToReducedTrace(step, 0) step = this.resolveToReducedTrace(step, -1)
} }
this.slider.setValue(step) this.slider.setValue(step)
this.changeState(step) this.changeState(step)
......
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