class Byebug::DownCommand


Move the current frame down in the backtrace.

def self.description

def self.description
  <<-DESCRIPTION
    down[ count]
    #{short_description}
    Use the "bt" command to find out where you want to go.
  DESCRIPTION
end

def self.regexp

def self.regexp
  /^\s* down (?:\s+(\S+))? \s*$/x
end

def self.short_description

def self.short_description
  "Moves to a lower frame in the stack trace"
end

def execute

def execute
  pos, err = parse_steps(@match[1], "Down")
  return errmsg(err) unless pos
  jump_frames(-pos)
  ListCommand.new(processor).execute if Setting[:autolist]
end