Some helpers to diagnose the runtime behavior of nodes