module Byebug
def line_at(filename, line_number)
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