Finding types of TVM objects and accessing their attributes in GDB

Right, I think tvm::Dump(xxx) also supports printing entire PrimFunc. The main question I had was, is there a clean way to find the underlying type of an Object/ObjectRef. Basically, if I have a PrimFunc is there a way to find that the underlying type is say an AddNode.