You are viewing a plain text version of this content. The canonical link for it is here.
Posted to discuss-archive@tvm.apache.org by Takato Yamada via TVM Discuss <no...@discuss.tvm.ai> on 2019/11/13 04:27:34 UTC

[TVM Discuss] [Questions] Break in C++ shared library in gdb (or lldb) from python


Hi, I'm currently working on TVM to add new operator and custom backend.
I'm wondering if we could debug a C++ shared library in gdb or any other debugger from python since TVM provides most their interface throughout python language.
I tried `gdb --args python-dbg {my-script}` but it cannot stop even I set a breakpoint in some shared library, which is actually called by the executed script.

Is there anyone who use any debugger to debug a shared library called by python script??





---
[Visit Topic](http://tracking.discuss.tvm.ai/tracking/click?d=70nz7ERFWashGZF2CbtxWjIIzGDSTixUFOwwZXY1vrkmak4Ljq2h52cOeadB6Y4e6jUgkd-yFAcfYYp6WSZDpcUQumWgayuqCFN0sVesr1GSQnaK-R4cx0CVUvz-5CtEvUEPwmFDf-ftIibk7LQXz7hVA9pXJ91S7e5Gd33UbDJpatieFvNQlJmOAFE_LwC8tg2) to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click here](http://tracking.discuss.tvm.ai/tracking/click?d=7cFgOaAA4XIBVlVKt_oyC07uihTjg4Q6cjeBRNRTiPphU2ZYHhr_Zq3kbTZ8qNtSW2PDKAGluN6qKxui55lNRNx5xePiowLBaJIaCegrsi_CT0r97X5NmZ9r_P70s4eC5PcqQkEecFkzUrsA0GG3fVd9LTQAmYAI_XKfNcoK_qDkiLjy-cJdhfqwmhVE3SeAW3P5VxE-7EOCjnizypMOjjhxiDCSUC41hEnnOlxJJ6jN0).

Tianqi Chen, UW, Seattle, WA, 98105, United States
http://tracking.discuss.tvm.ai/tracking/unsubscribe?msgid=m-vg8Qiydq27xi5otp4NIQ2