How can you debug with TVM?

How can you debug with TVM when python call C/C++ ?

Hi @zhonhel, you can use gdb for debugging. Please refer to this thread for details: How do you debug the C++ core while launching from Python?.

Also, @Lunderberg developed a TVM gdb plugin which hides stack frames with no useful info, and you can watch his nice demo here.

1 Like

Thank you very much !