lib/byebug/processor.rb in byebug-2.2.0 vs lib/byebug/processor.rb in byebug-2.2.1
- old
+ new
@@ -85,16 +85,10 @@
def at_catchpoint(context, excpt)
file = CommandProcessor.canonic_file(context.frame_file(0))
line = context.frame_line(0)
print "Catchpoint at %s:%d: `%s' (%s)\n", file, line, excpt, excpt.class
- fs = context.stack_size
- tb = caller(0)[-fs..-1]
- if tb
- for i in tb
- print "\tfrom %s\n", i
- end
- end
+ print_backtrace
end
protect :at_catchpoint
def at_tracing(context, file, line)
if file != @last_file || line != @last_line || Command.settings[:linetrace_plus]