lib/byebug/commands/show.rb in byebug-2.2.0 vs lib/byebug/commands/show.rb in byebug-2.2.1
- old
+ new
@@ -126,12 +126,12 @@
listlines = Command.settings[:listsize]
return "Number of source lines to list is #{listlines}."
when /^post_mortem$/
on_off = Byebug.post_mortem?
return "post-mortem mode is #{show_onoff(on_off)}"
- when /^stack_trace_on_error$/
- on_off = Command.settings[:stack_trace_on_error]
+ when /^stack_on_error$/
+ on_off = Command.settings[:stack_on_error]
return "Displaying stack trace is #{show_onoff(on_off)}."
when /^verbose$/
on_off = Byebug.verbose
return "Verbose output of TracePoint API events is #{show_onoff(on_off)}."
when /^version$/
@@ -174,10 +174,10 @@
['linetrace_plus', 10,
'Show whether different consecutive lines are shown in tracing'],
['listsize', 3, 'Show number of source lines to list by default'],
['post-mortem', 3, 'Show whether we should go into post-mortem ' \
'debugging on an uncaught exception'],
- ['stack_trace_on_error', 1, 'Show whether a stack trace is displayed ' \
+ ['stack_on_error', 1, 'Show whether a stack trace is displayed ' \
'when "eval" raises an exception'],
['verbose', 4, true,
'Show whether verbose output for debugging byebug itself is enabled'],
['version', 1, 'Show byebug\'s version'],
['width', 1, 'Show the number of characters per line for byebug']