module Byebug::FrameFunctions

def get_frame_call(prefix, pos)

def get_frame_call(prefix, pos)
  frame_block, frame_method = get_frame_block_and_method(pos)
  frame_class = get_frame_class(Command.settings[:callstyle], pos)
  frame_args = get_frame_args(Command.settings[:callstyle], pos)
  call_str = frame_block + frame_class + frame_method + frame_args
  max_call_str_size = Command.settings[:width] - prefix.size
  if call_str.size > max_call_str_size
    call_str = call_str[0..max_call_str_size - 5] + "...)"
  end
  return call_str
end