lib/byebug/commands/set.rb in byebug-2.2.0 vs lib/byebug/commands/set.rb in byebug-2.2.1

- old
+ new

@@ -51,19 +51,18 @@ return unless width = get_int(setting_args[0], "Set width", 10, nil, 80) Command.settings[:width] = width when /^post_mortem$/ Byebug.post_mortem = setting_value when /^autoeval|autoreload|basename|forcestep|fullpath|linetrace_plus| - testing|stack_trace_on_error$/x + testing|stack_on_error$/x Command.settings[setting_name.to_sym] = setting_value else return print "Unknown setting #{@match[1]}.\n" end end end - # Implements byebug "set" command. class SetCommand < Command SubcmdStruct2 = Struct.new(:name, :min, :is_bool, @@ -89,10 +88,10 @@ ['linetrace', 3, true, 'Enable line execution tracing'], ['linetrace_plus', 10, true, 'Set line execution tracing to show different lines'], ['listsize', 3, false, 'Set number of source lines to list by default'], ['post_mortem', 2, true, 'Enable post-mortem mode'], - ['stack_trace_on_error', 1, true, + ['stack_on_error', 1, true, 'Display stack trace when "eval" raises exception'], ['verbose', 1, true, 'Enable verbose output of TracePoint API events is enabled'], ['width', 1, false, 'Number of characters per line for byebug\'s output']