module Byebug::Helpers::FrameHelper

def switch_to_frame(frame)

def switch_to_frame(frame)
  new_frame = index_from_start(frame)
  return frame_err('c_frame') if Frame.new(context, new_frame).c_frame?
  adjust_frame(new_frame)
end