# File cli/ruby-debug/commands/breakpoints.rb, line 122
    def execute
      unless @state.context
        errmsg "We are not in a state we can delete breakpoints.\n"
        return 
      end
      brkpts = @match[1]
      unless brkpts
        if confirm("Delete all breakpoints? (y or n) ")
          Debugger.breakpoints.clear
        end
      else
        brkpts.split(/[ \t]+/).each do |pos|
          pos = get_int(pos, "Delete", 1)
          return unless pos
          unless Debugger.remove_breakpoint(pos)
            errmsg "No breakpoint number %d\n", pos
          end
        end
      end
    end