Class: Debugger::BreakpointsCommand
- Inherits:
-
Command
- Object
- SimpleDelegator
- Command
- Debugger::BreakpointsCommand
show all
- Defined in:
- lib/ruby-debug-ide/commands/breakpoints.rb
Overview
Constant Summary
Constants inherited
from Command
Command::DEF_OPTIONS
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from Command
commands, #find, inherited, #initialize, load_commands, #match, method_missing, options
Class Method Details
.help(cmd) ⇒ Object
94
95
96
97
98
|
# File 'lib/ruby-debug-ide/commands/breakpoints.rb', line 94
def help(cmd)
%{
b[reak]\tlist breakpoints
}
end
|
.help_command ⇒ Object
90
91
92
|
# File 'lib/ruby-debug-ide/commands/breakpoints.rb', line 90
def help_command
'break'
end
|
Instance Method Details
#execute ⇒ Object
85
86
87
|
# File 'lib/ruby-debug-ide/commands/breakpoints.rb', line 85
def execute
print_breakpoints Debugger.breakpoints
end
|
#regexp ⇒ Object
81
82
83
|
# File 'lib/ruby-debug-ide/commands/breakpoints.rb', line 81
def regexp
/^\s*info\s*break$/
end
|