fix used ref

pull/1/head
yann300 6 years ago
parent 452d1b7c16
commit 89080d1aa1
  1. 4
      src/app/debugger/remix-debugger/src/ui/StepManager.js

@ -60,10 +60,10 @@ function StepManager (_parent, _traceManager) {
self.jumpTo(exceptionIndex)
})
this.buttonNavigator.event.register('jumpNextBreakpoint', (exceptionIndex) => {
self.parent.breakpointManager.jumpNextBreakpoint(this.parent.currentStepIndex, true)
self.parent.breakpointManager.jumpNextBreakpoint(_parent.currentStepIndex, true)
})
this.buttonNavigator.event.register('jumpPreviousBreakpoint', (exceptionIndex) => {
self.parent.breakpointManager.jumpPreviousBreakpoint(this.parent.currentStepIndex, true)
self.parent.breakpointManager.jumpPreviousBreakpoint(_parent.currentStepIndex, true)
})
}

Loading…
Cancel
Save