class Byebug::DownCommand


Move the current frame down in the backtrace.

def description

def description
  <<-EOD
    down[ count]
    Move to a lower frame in the stack trace.
    Use the "bt" command to find out where you want to go.
  EOD
end

def execute

def execute
  pos, err = parse_steps(@match[1], 'Down')
  return errmsg(err) unless pos
  adjust_frame(-pos, false)
  ListCommand.new(@state).execute if Setting[:autolist]
end

def regexp

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