Method: DEBUGGER__::DAP_TraceInspector::Custom_Session#custom_dap_request_rdbgTraceInspector
- Defined in:
- lib/debug/dap_custom/traceInspector.rb
#custom_dap_request_rdbgTraceInspector(req) ⇒ Object
232 233 234 235 236 237 238 239 240 241 242 |
# File 'lib/debug/dap_custom/traceInspector.rb', line 232 def custom_dap_request_rdbgTraceInspector(req) cmd = req.dig('arguments', 'command') case cmd when 'trace' process_trace_cmd req when 'record' process_record_cmd req else raise "Unknown command #{cmd}" end end |