Add children node to CDP Node representation

Add Node writer. Different CDP messages want different child depths. For now,
only support immediate children, but the new writer should make it easy to
support variable.
This commit is contained in:
Karl Seguin
2025-04-03 21:28:57 +08:00
parent af68b10c5d
commit 68d1be3b94
2 changed files with 45 additions and 2 deletions

View File

@@ -285,6 +285,7 @@ const TestContext = struct {
_ = self.client.?.serialized.orderedRemove(i);
return;
}
std.debug.print("Error not found. Expecting:\n{s}\n\nGot:\n", .{serialized});
for (self.client.?.serialized.items, 0..) |sent, i| {
std.debug.print("#{d}\n{s}\n\n", .{ i, sent });