     @emitter.emit 'stopped'
     return
 
-  emitPositionUpdate: (positionString, isReplay) ->
+  emitPositionUpdated: (positionString, isReplay) ->
     splitted = positionString.split MessageUtils.getDelimiter()
     currentPosition = new Position +splitted[1], +splitted[2]
 

    if @positionMarker?
      @positionMarker.destroy()
    breakpointManager.restoreHiddenBreakpoint()
    @emitStatusUpdate StatusFactory.createStopped @isReplay
    return

  handleEndOfReplayTape: ->
    @emitStatusUpdate StatusFactory.createEndOfTape false
    return

  handleLevelChanged: ->


  runToNextBreakpoint: ->
    if @isExecutableInDebuggingMode
      @emitStatusUpdate StatusUpdateEventFactory.createRunning @isReplay
      @socketChannel.sendMessage OutgoingMessageFactory.createRunToNextBreakpointMessage()
    return

  runToEndOfMethod: ->
    if @isExecutableInDebuggingMode
      @emitStatusUpdate StatusUpdateEventFactory.createRunning @isReplay
      @socketChannel.sendMessage OutgoingMessageFactory.createRunToEndOfMethodMessage()
    return

