remove unnecessary event

pull/3094/head
Iuri Matias 6 years ago committed by yann300
parent 02a0301879
commit 430e4f03db
  1. 5
      src/app/debugger/debuggerUI.js

@ -57,6 +57,7 @@ class DebuggerUI {
self.debugger.codeManager.resolveStep(index, self.tx)
self.transactionDebugger.step_manager.event.trigger('indexChanged', [index])
self.transactionDebugger.vmDebuggerLogic.event.trigger('indexChanged', [index])
self.transactionDebugger.registerAndHighlightCodeItem(index)
})
container.appendChild(this.render())
@ -94,10 +95,6 @@ class DebuggerUI {
self.stepManager.stepManager.jumpTo(step)
})
this.event.register('indexChanged', function (index) {
self.transactionDebugger.registerAndHighlightCodeItem(index)
})
this.transactionDebugger.event.register('newSourceLocation', function (lineColumnPos, rawLocation) {
self.sourceHighlighter.currentSourceLocation(lineColumnPos, rawLocation)
})

Loading…
Cancel
Save