module Byebug::Helpers::FrameHelper

def adjust_frame(new_frame)

def adjust_frame(new_frame)
  return frame_err('too_low') if new_frame >= context.stack_size
  return frame_err('too_high') if new_frame < 0
  context.frame = new_frame
  processor.prev_line = nil
end