class Byebug::NextCommand


current frame.
Allows the user the continue execution until the next instruction in the
Implements the next functionality.

def description

def description
  %(n[ext][+-]?[ nnn]
  Steps over once or nnn times.
    '+' forces to move to another line.
    '-' is the opposite of '+' and disables the :forcestep setting.)
end

def execute

def execute
  steps, err = parse_steps(@match[2], 'Next')
  return errmsg(err) unless steps
  @state.context.step_over(steps, @state.frame_pos, parse_force(@match[1]))
  @state.proceed
end

def names

def names
  %w(next)
end

def regexp

def regexp
  /^\s* n(?:ext)?([+-])? (?:\s+(\S+))? \s*$/x
end