summaryrefslogtreecommitdiff
path: root/debug.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-03 13:37:03 -0600
committerJeff Carr <[email protected]>2024-01-03 13:37:03 -0600
commita08bbaf04ff536e8fae3ab5396dc54c290945301 (patch)
tree79e0cd54b6d67ded948e6ce9caba68ab7aae5444 /debug.go
parentd8f1107387af688e9b161a0c01dd70241741edba (diff)
all debug stuff moved to 'go.wit.com/gui/debugger'v0.9.9
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 <[email protected]>
Diffstat (limited to 'debug.go')
-rw-r--r--debug.go4
1 files changed, 4 insertions, 0 deletions
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) {