   handleStopping: ->
     @isReplay = false
     @autoSteppingEnabled = false
-    @allControlsEnabled = levelsWorkspaceManager.isActiveLevelDebuggable()
     @emitStopped()
     if @positionMarker?
       @positionMarker.destroy()

    levelsWorkspaceManager.attachWorkspace workspace
    workspace.onDidEnterWorkspace => @handleWorkspaceEntered()
    workspace.onDidExitWorkspace => @handleWorkspaceExited()
    return

  startDebugging: ->
    if @saveDocument() && !@isExecutableInDebuggingMode
      executor.startDebugger()
    return

  startExecutableAndConnect: ->
    @socketChannel.connect()
    @isExecutableInDebuggingMode = true
    @runExecutable()
    return

  stopDebugging: ->

  getCallStack: ->
    return @callStack

  startExecutable: ->
    editor = levelsWorkspaceManager.getActiveLevelCodeEditor()
    editor.startExecution {runExecArgs: ['-d']}
    return

  stopExecutable: ->
    levelsWorkspaceManager.getActiveLevelCodeEditor().stopExecution()
    return

  sendEnableDisableAllBreakpoints: ->
