class DEBUGGER__::DAP_TraceInspector::Custom_Recorder
def append frames
def append frames if @log.size >= @max_log_size @dropped_trace_cnt += 1 @log.shift end @log << frames end
def initialize max_log_size: nil
def initialize max_log_size: nil if max_log_size @max_log_size = max_log_size else @max_log_size = 50000 end @dropped_trace_cnt = 0 super() end