This is different from debug_print_node() which only prints the NODE* but doesn't show its structure or print the objects.
I implemented just enough to give me insight into the structure of a TREE.
It feels like this would be better implemented as a gdb extension, but I don't know how to do that.