Finding types of TVM objects and accessing their attributes in GDB

Thanks for the reply, atleast I’m not the only one who is using the deleter_ hack to find the types of nodes.

And thanks for the ideas with PrettyPrint, I haven’t used it too much in gdb, I normally use the p tvm::Dump(xxx) for printing Objects and ObjectRefs.

So, out of curiosity, is there a difference between what’s printed by tvm::Dump vs what’s printed by call (size_t)puts(PrettyPrint(xxx).c_str()). I tried it on a couple of simple examples and did not see any major differences.