       atom.workspaceView.addClass('and--paused')
       @setCurrentPause(breakInfo)
       @openPath @getCurrentPauseLocations()[0], =>
-        console.log 'paused, cached breaks:',breaks
         if breaks?.length > 0
           @setBreakpoints(breaks, => @updateMarkers())
           breaks = null

  # array of {breakpointId:id, locations:array of {scriptPath, lineNumber}}
  breakpoints: []
  setBreakpoints: (breakpoints, done) ->
    console.log 'set', breakpoints
    if not @bug?
      @breakpoints.push(bp)  for bp in breakpoints
      return done()
      
    setNext = (breakpoints, done) =>
      console.log 'setting', breakpoints
      return done?() if not breakpoints? or breakpoints.length is 0
      [{breakpointId,locations},tail...] = breakpoints
      [{lineNumber, scriptPath},blah...] = locations

    @bug.removeBreakpoint({breakpointId: id})
    @breakpoints = @breakpoints.filter ({breakpointId})->breakpointId isnt id
  toggleBreakpoint: ({scriptPath, lineNumber}, done)->
    toRemove = @breakpoints.filter (bp)->
      (scriptPath is bp.locations[0].scriptPath and
      lineNumber is bp.locations[0].lineNumber)
