module Byebug

def line_at(filename, line_number)

@return "\n" if there was a problem. Leaking blanks are stripped off.
Get line +line_number+ from file named +filename+.
def line_at(filename, line_number)
  @@reload_source_on_change = nil unless defined?(@@reload_source_on_change)
  line = LineCache::getline(filename, line_number, @@reload_source_on_change)
  return "\n" unless line
  return "#{line.gsub(/^\s+/, '').chomp}"
end