module Byebug::InfoFunctions
def info_breakpoints(*args)
def info_breakpoints(*args) return puts('No breakpoints.') if Byebug.breakpoints.empty? brkpts = Byebug.breakpoints.sort_by(&:id) unless args.empty? indices = args.map(&:to_i) brkpts = brkpts.select { |b| indices.member?(b.id) } return errmsg('No breakpoints found among list given') if brkpts.empty? end puts 'Num Enb What' brkpts.each { |b| info_breakpoint(b) } end