class DEBUGGER__::DAP_TraceInspector::MultiTracer

def call_trace_log tp, return_str: nil, params: nil

def call_trace_log tp, return_str: nil, params: nil
  log = {
    depth: DEBUGGER__.frame_depth,
    name: call_identifier_str(tp),
    threadId: Thread.current.instance_variable_get(:@__thread_client_id),
    location: {
      path: tp.path,
      line: tp.lineno
    }
  }
  log[:returnValue] = return_str if return_str
  log[:parameters] = params if params && params.size > 0
  log
end