lib/byebug/context.rb in byebug-6.0.2 vs lib/byebug/context.rb in byebug-7.0.0
- old
+ new
@@ -87,38 +87,38 @@
def interrupt
step_into 1
end
def at_breakpoint(breakpoint)
- new_processor.at_breakpoint(breakpoint)
+ processor.at_breakpoint(breakpoint)
end
def at_catchpoint(exception)
- new_processor.at_catchpoint(exception)
+ processor.at_catchpoint(exception)
end
- def at_tracing(file, _line)
+ def at_tracing
return if ignored_file?(file)
- new_processor.at_tracing
+ processor.at_tracing
end
- def at_line(file, _l)
+ def at_line
self.frame = 0
return if ignored_file?(file)
- new_processor.at_line
+ processor.at_line
end
- def at_return(file, _line)
+ def at_return(return_value)
return if ignored_file?(file)
- new_processor.at_return
+ processor.at_return(return_value)
end
private
- def new_processor
+ def processor
@processor ||= self.class.processor.new(self)
end
end
end