From c43cf630fcbccb2ab0ee9e998893bdfee5f78b70 Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Fri, 7 Sep 2018 14:06:41 -0400 Subject: [PATCH] cleanup --- src/app/debugger/debuggerUI/StepManager.js | 47 ---------------------- 1 file changed, 47 deletions(-) diff --git a/src/app/debugger/debuggerUI/StepManager.js b/src/app/debugger/debuggerUI/StepManager.js index f4cdc41f07..18a4008958 100644 --- a/src/app/debugger/debuggerUI/StepManager.js +++ b/src/app/debugger/debuggerUI/StepManager.js @@ -183,63 +183,16 @@ StepManager.prototype.init = function () { this.changeState(0) } -// StepManager.prototype.jumpTo = function (step) { -// if (!this.traceManager.inRange(step)) return -// this.slider.setValue(step) -// this.changeState(step) -// } - StepManager.prototype.sliderMoved = function (step) { if (!this.traceManager.inRange(step)) return this.changeState(step) } -// StepManager.prototype.stepIntoForward = function () { -// if (!this.traceManager.isLoaded()) return -// var step = this.currentStepIndex + 1 -// if (!this.traceManager.inRange(step)) { -// return -// } -// this.slider.setValue(step) -// this.changeState(step) -// } - StepManager.prototype.updateStep = function (step) { this.slider.setValue(step) this.changeState(step) } -// StepManager.prototype.stepIntoBack = function () { -// if (!this.traceManager.isLoaded()) return -// var step = this.currentStepIndex - 1 -// if (!this.traceManager.inRange(step)) { -// return -// } -// this.slider.setValue(step) -// this.changeState(step) -// } - -// StepManager.prototype.stepOverForward = function () { -// if (!this.traceManager.isLoaded()) return -// var step = this.traceManager.findStepOverForward(this.currentStepIndex) -// this.slider.setValue(step) -// this.changeState(step) -// } - -// StepManager.prototype.stepOverBack = function () { -// if (!this.traceManager.isLoaded()) return -// var step = this.traceManager.findStepOverBack(this.currentStepIndex) -// this.slider.setValue(step) -// this.changeState(step) -// } - -// StepManager.prototype.jumpOut = function () { -// if (!this.traceManager.isLoaded()) return -// var step = this.traceManager.findStepOut(this.currentStepIndex) -// this.slider.setValue(step) -// this.changeState(step) -// } - StepManager.prototype.changeState = function (step) { const self = this this.currentStepIndex = step