[powerdebug 21/23] document the tree code