Class: Debugger::ContinueCommand
- Inherits:
-
Command
- Object
- Command
- Debugger::ContinueCommand
show all
- Defined in:
- lib/ruby-debug/commands/stepping.rb
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
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
|