How do you print a PrimExprNode object inside a debugger?

Greetings,

Inside a debugger (gdb/lldb), I was able to print a statement with command “p tvm::Dump(stmt)”. But it does not work well on PrimExprNode objects, and it just prints out an opaque object. Is there a command to recursively print an expression node? Thanks!

1 Like