class Byebug::Breakpoint

def self.potential_lines_with_trace_points(iseq, lines)

def self.potential_lines_with_trace_points(iseq, lines)
  iseq.trace_points.each { |(line, _)| lines[line] = true }
  iseq.each_child do |child|
    potential_lines_with_trace_points(child, lines)
  end
  lines.keys.sort
end