rsc3/doc-schelp/HelpSource/Classes/DebugNodeWatcher.schelp

26 lines
531 B
Text
Raw Normal View History

2022-08-24 13:53:18 +00:00
class:: DebugNodeWatcher
summary:: watches a server address for debug-related messages
related:: Reference/Server-Command-Reference, Classes/Node, Classes/NodeWatcher
categories:: Control, Server>Nodes
description::
Posts when these messages are received from the server:
n_go n_end n_off n_on
For debugging, it can be useful to see every node start and end. It doesn't require registration, reacts to each message.
Examples::
code::
s.boot;
d = DebugNodeWatcher(s);
d.start;
y = Group.new;
y.run(false);
y.free;
d.stop;
::