class Byebug::ScriptProcessor


Processes commands from a file

def after_repl

def after_repl
  super
  interface.close
end

def commands


Available commands
def commands
  super.select(&:allow_in_control)
end

def prompt


Prompt shown before reading a command.
def prompt
  "(byebug:ctrl) "
end

def repl

def repl
  while (input = interface.read_command(prompt))
    safely do
      command = command_list.match(input)
      raise CommandNotFound.new(input) unless command
      command.new(self, input).execute
    end
  end
end

def without_exceptions

def without_exceptions
  yield
rescue StandardError
  nil
end