module
Godot::SignalSpy
Overview
SignalSpy: Live tracing and diagnostics for signal emissions across Godot nodes.
Enabled via -Dtrace_signals or -Dsignal_spy (or --trace-signals in Lapis CLI).
Records signal emissions, emitters, argument counts, and timestamps.
Automatically emits debug logs to the DiagnosticLogger on the SignalSpy channel.
Defined in:
libgodot/diagnostics/signal_spy.crClass Method Summary
- .clear! : Void
- .enabled=(enabled : Bool)
- .enabled? : Bool
- .event_count : Int32
- .events : Array(SignalEvent)
- .record(emitter_class : String, signal_name : String, arg_count : Int32 = 0) : Void