The isSymbol
dependency crept in through a very common quark a while ago - I fixed this locally, but only just pushed the change. If you update this should be resolved.
When you postln
a TreeSnapshot or it’s nodes, it doesn’t recursively show everything contained in them. This USED to be the behavior, but in most normal use-cases (e.g. when you’re playing a bunch of Synths), this stretches to 20, 30, 40, 100 lines in the post window, which is extremely disruptive and can for example ruin stack traces.
You can use TreeSnapshot:nodeOrder
to fetch all nodes recursively (a depth-first traversal, so the order is consistent with the order they would be executed on the server:
(
TreeSnapshot.get({
|sn|
sn.nodeOrder.do(_.postln)
})
)
GroupSnapshot
s also can behave like a Stream
, where they yield their child nodes recursively and in order:
(
TreeSnapshot.get({
|sn|
var nodes = sn.root.asStream;
var node;
while { (node = nodes.next).notNil } {
node.postln
}
})
)