class DEBUGGER__::DAP_TraceInspector::Custom_Recorder
属性
dropped_trace_cnt[读写]
公共类方法
new(max_log_size: nil) 点击切换源码
调用父类方法
# File debug-1.10.0/lib/debug/dap_custom/traceInspector.rb, line 104 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
公共实例方法
append(frames) 点击切换源码
# File debug-1.10.0/lib/debug/dap_custom/traceInspector.rb, line 116 def append frames if @log.size >= @max_log_size @dropped_trace_cnt += 1 @log.shift end @log << frames end