From a08bbaf04ff536e8fae3ab5396dc54c290945301 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 3 Jan 2024 13:37:03 -0600 Subject: all debug stuff moved to 'go.wit.com/gui/debugger' I finally was able to clean out all the debugging code and make a clean, new GO debugger. It's quite nice I think. Well, it's useful to me at any rate. 2024 New Years wish: someone contributes code to improve it Signed-off-by: Jeff Carr --- debug.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'debug.go') diff --git a/debug.go b/debug.go index 8a01cc1..b65cf9f 100644 --- a/debug.go +++ b/debug.go @@ -144,6 +144,10 @@ func (n *Node) dumpWidget(b bool) string { return tabs + d } +func (n *Node) Children() []*Node { + return n.children +} + // func (n *Node) ListChildren(dump bool, dropdown *Node, mapNodes map[string]*Node) { func (n *Node) ListChildren(dump bool) { if (n == nil) { -- cgit v1.2.3