class Byebug::SaveCommand
def execute
def execute if not @match[1] file = open_save() else file = open(@match[1], 'w') end save_breakpoints(file) save_catchpoints(file) save_displays(file) save_settings(file) print "Saved to '#{file.path}'\n" if @state and @state.interface @state.interface.restart_file = file.path end file.close end