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(Setting[:callstyle], pos)
  frame_args = get_frame_args(Setting[:callstyle], pos)
  call_str = frame_block + frame_class + frame_method + frame_args
  max_call_str_size = Setting[:width] - prefix.size
  if call_str.size > max_call_str_size
    call_str = call_str[0..max_call_str_size - 5] + '...)'
  end
  call_str
end