class Byebug::BreakCommand
def line_breakpoint(loc)
def line_breakpoint(loc) line, file_line = loc.match(/^(\d+)$/), loc.match(/^([^:]+):(\d+)$/) return nil unless line || file_line f, l = line ? [@state.file, line[1]] : [file_line[1], file_line[2]] check_errors(f, l.to_i) Breakpoint.add(File.expand_path(f), l.to_i, @match[2]) end