Implements debugger "next" command.
# File cli/ruby-debug/commands/stepping.rb, line 39 def help(cmd) %Q{ n[ext][+-]?[ nnn]\tstep over 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
# File cli/ruby-debug/commands/stepping.rb, line 35 def help_command 'next' end
# File cli/ruby-debug/commands/stepping.rb, line 27 def execute steps, force = parse_stepping_args("Next", @match) return unless steps @state.context.step_over steps, @state.frame_pos, force @state.proceed end
# File cli/ruby-debug/commands/stepping.rb, line 21 def regexp %r^\s* n(?:ext)? ([+-])?(?:\s+(\S+))? \s*$/ end