diff --git a/src/Tree.cpp b/src/Tree.cpp index 6d60d2627..0e5bcc045 100644 --- a/src/Tree.cpp +++ b/src/Tree.cpp @@ -273,7 +273,8 @@ void Tree::dumpNode (Tree* t, int depth, std::stringstream& output) for (int i = 0; i < depth; ++i) output << " "; - output << "\033[1m" << t->_name << "\033[0m"; + output << std::hex << t << " " + << "\033[1m" << t->_name << "\033[0m"; // Dump attributes. std::string atts;