class Byebug::DisableCommand - byebug-9.0.6 Documentation

# class Byebug::DisableCommand

Disabling custom display expressions or breakpoints.

Reopens the `disable` command to define the `breakpoints` subcommand

Reopens the `disable` command to define the `display` subcommand

### Public Class Methods

description() click to toggle source

    # File lib/byebug/commands/disable.rb, line 19
    def self.description
      <<-EOD
        dis[able][[ breakpoints| display)][ n1[ n2[ ...[ nn]]]]]

        #{short_description}
       EOD
    end

regexp() click to toggle source

    # File lib/byebug/commands/disable.rb, line 15
    def self.regexp
      /^\s* dis(?:able)? (?:\s+ (.+))? \s*$/x
    end

short_description() click to toggle source

    # File lib/byebug/commands/disable.rb, line 27
    def self.short_description
      'Disables breakpoints or displays'
    end