Method: DEBUGGER__::DAP_TraceInspector::Custom_Session#custom_dap_request_event_rdbgTraceInspector

Defined in:
lib/debug/dap_custom/traceInspector.rb

#custom_dap_request_event_rdbgTraceInspector(req, result) ⇒ Object



244
245
246
247
248
249
250
251
252
# File 'lib/debug/dap_custom/traceInspector.rb', line 244

def custom_dap_request_event_rdbgTraceInspector(req, result)
  cmd = req.dig('arguments', 'command')
  case cmd
  when 'record'
    process_event_record_cmd(req, result)
  else
    raise "Unknown command #{cmd}"
  end
end