class PryByebug::Processor
def at_line(context, file, line)
def at_line(context, file, line) # If any delayed nexts/steps, do 'em. if @delayed[:next] > 1 context.step_over(@delayed[:next] - 1, 0) elsif @delayed[:step] > 1 context.step_into(@delayed[:step] - 1) elsif @delayed[:finish] > 1 context.step_out(@delayed[:finish] - 1) # Otherwise, resume the pry session at the stopped line. else resume_pry context end @delayed = Hash.new(0) end