class DEBUGGER__::DAP_TraceInspector::MultiTracer

def setup

def setup
  @tracer = TracePoint.new(*@evts){|tp|
    next if skip?(tp)
    case tp.event
    when :call, :c_call, :b_call
      if @trace_params
        params = parameters_info tp
      end
      append(call_trace_log(tp, params: params))
    when :return, :c_return, :b_return
      return_str = DEBUGGER__.safe_inspect(tp.return_value, short: true, max_length: 4096)
      append(call_trace_log(tp, return_str: return_str))
    when :line
      append(line_trace_log(tp))
    end
  }
end