class Byebug::StepCommand

Implements byebug “step” command.

def execute

def execute
  steps, force = parse_stepping_args("Step", @match)
  return unless steps
  @state.context.step steps, force
  @state.proceed
end

def help(cmd)

def help(cmd)
  %{
    s[tep][+-]?[ nnn]\tstep (into methods) once or nnn times
    \t\t'+' forces to move to another line.
    \t\t'-' is the opposite of '+' and disables the force_stepping setting.
  }
end

def help_command

def help_command
  'step'
end

def regexp

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