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.cr

Class Method Summary

Class Method Detail

def self.clear! : Void #

def self.enabled=(enabled : Bool) #

def self.enabled? : Bool #

def self.event_count : Int32 #

def self.events : Array(SignalEvent) #

def self.record(emitter_class : String, signal_name : String, arg_count : Int32 = 0) : Void #