class Byebug::InfoCommand::BreakpointsCommand

def info_breakpoint(brkpt)

def info_breakpoint(brkpt)
  expr = brkpt.expr.nil? ? '' : " if #{brkpt.expr}"
  y_n = brkpt.enabled? ? 'y' : 'n'
  interp = format('%-3d %-3s at %s:%s%s',
                  brkpt.id, y_n, brkpt.source, brkpt.pos, expr)
  puts interp
  hits = brkpt.hit_count
  return unless hits > 0
  s = (hits > 1) ? 's' : ''
  puts "  breakpoint already hit #{hits} time#{s}"
end