class Byebug::UpCommand


Move the current frame up in the backtrace.

def description

def description
  prettify <<-EOD
    up[ count] Move to higher frame.
  EOD
end

def execute

def execute
  pos, err = parse_steps(@match[1], 'Up')
  return errmsg(err) unless pos
  adjust_frame(pos, false)
end

def names

def names
  %w(up)
end

def regexp

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