     @stopReplayButton.disabled = true
     @stopReplayButton.innerHTML = 'Stop Replay'
     @stopReplayButton.title = 'Stop Replay'
-    @stopReplayButton.addEventListener 'click', => @stopReplay()
+    @stopReplayButton.addEventListener 'click', => @debuggerPresenter.stopReplay()
     commandsDiv.appendChild @stopReplayButton
 
     variablesHeader = document.createElement 'div'

      replayButton.innerHTML = 'Replay'
      replayButton.title = 'Replay'
      replayButton.setAttribute 'data-call-id', callID
      replayButton.addEventListener 'click', (event) => @startReplay event
      cellReplay.appendChild replayButton
      row.appendChild cellCall
      row.appendChild cellReplay

    @runToEndOfMethodButton.disabled = true
    @runToEndOfMethodButton.innerHTML = 'Run To End Of Method'
    @runToEndOfMethodButton.title = 'Run To End Of Method'
    @runToEndOfMethodButton.addEventListener 'click', => @debuggerPresenter.runToEndOfMethod()
    commandsDiv.appendChild @runToEndOfMethodButton

    @runToNextBreakpointButton = document.createElement 'button'
