class Byebug::EnableCommand::BreakpointsCommand
Enables all or specific breakpoints
Public Class Methods
description()
click to toggle source
# File lib/byebug/commands/enable/breakpoints.rb, line 21 def self.description <<-DESCRIPTION en[able] b[reakpoints][ <ids>] #{short_description} Give breakpoint numbers (separated by spaces) as arguments or no argument at all if you want to enable every breakpoint. DESCRIPTION end
regexp()
click to toggle source
# File lib/byebug/commands/enable/breakpoints.rb, line 17 def self.regexp /^\s* b(?:reakpoints)? (?:\s+ (.+))? \s*$/x end
short_description()
click to toggle source
# File lib/byebug/commands/enable/breakpoints.rb, line 32 def self.short_description "Enable all or specific breakpoints" end
Public Instance Methods
execute()
click to toggle source
# File lib/byebug/commands/enable/breakpoints.rb, line 36 def execute enable_disable_breakpoints("enable", @match[1]) end