Class: Debugger::BreakpointsCommand

Inherits:
Command
  • Object
show all
Defined in:
lib/ruby-debug-ide/commands/breakpoints.rb

Overview

:nodoc:

Constant Summary

Constants inherited from Command

Command::DEF_OPTIONS

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Command

commands, file_filter_supported?, #find, inherited, #initialize, load_commands, #match, method_missing, options, unescape_incoming

Constructor Details

This class inherits a constructor from Debugger::Command

Class Method Details

.help(cmd) ⇒ Object



83
84
85
86
87
# File 'lib/ruby-debug-ide/commands/breakpoints.rb', line 83

def help(cmd)
  %{
    b[reak]\tlist breakpoints
  }
end

.help_commandObject



79
80
81
# File 'lib/ruby-debug-ide/commands/breakpoints.rb', line 79

def help_command
  'break'
end

Instance Method Details

#executeObject



74
75
76
# File 'lib/ruby-debug-ide/commands/breakpoints.rb', line 74

def execute
  print_breakpoints Debugger.breakpoints
end

#regexpObject



70
71
72
# File 'lib/ruby-debug-ide/commands/breakpoints.rb', line 70

def regexp
  /^\s*info\s*break$/
end