Class: Debugger::ContinueCommand
- Defined in:
- lib/ruby-debug/commands/stepping.rb
Overview
:nodoc:
Constant Summary
Constants inherited from Command
Debugger::Command::DEF_OPTIONS
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Command
commands, inherited, #initialize, load_commands, #match, method_missing, options
Constructor Details
This class inherits a constructor from Debugger::Command
Class Method Details
.help(cmd) ⇒ Object
91 92 93 94 95 96 97 98 99 100 101 |
# File 'lib/ruby-debug/commands/stepping.rb', line 91 def help(cmd) if cmd == 'cont' %{ c[ont]\trun until program ends or hit breakpoint } else %{ r[un]\talias for cont } end end |
.help_command ⇒ Object
87 88 89 |
# File 'lib/ruby-debug/commands/stepping.rb', line 87 def help_command %w|cont run| end |
Instance Method Details
#execute ⇒ Object
82 83 84 |
# File 'lib/ruby-debug/commands/stepping.rb', line 82 def execute @state.proceed end |
#regexp ⇒ Object
78 79 80 |
# File 'lib/ruby-debug/commands/stepping.rb', line 78 def regexp /^\s*c(?:ont)?$|^\s*r(?:un)?$/ end |