Next: , Previous: , Up: The Debug Server   [Contents]


3.2.3 Debug Signals

While connected, the Core broadcasts live events on the same interface:

PeerChanged (s name, s address, u port, u state, s event)

Peer lifecycle. event is one of connecting, ready, failed, or removed. On removed/failed the peer is dropped from the ListPeers table.

InputChanged ({s(siddddt)} object)
OutputChanged ({s(siddddt)} object)

Same dict entry shape used by org.starter.Service snapshots: key is the identifier; value is (description, unit, min, max, step, value, flags).

StatsChanged (s name)

A peer’s statistics object was updated (name identifies the stats bundle).

VarChanged (s name, s expression, d value)

A Core variable changed (AST assign or live-reference value after a dependency update). expression is the expression engine’s textual dump; value is the numeric evaluation at emit time.

ListVariables → a{s(sd)}

Snapshot of Core variables: key is the name; value is (expression, value).

Stopped (s reason, s id, d value, u handle)

Emitted when evaluation pauses. reason is breakpoint or watchpoint; id and handle identify the point that fired.