Pytorch Debug lldb

Hello guys, I want to debug pytorch source code from python to c++. I do some research from google and know that gdb can do this work. But I am using Mac M1, I have no gdb and can’t install it, But I have lldb.So is there some easy ways for me to debug c++ function called by python with lldb?I see there is a file called “” in tools directory, does this script can help me ?

Problem Resolved, Closed.

hi,I have the same question, Could you please give me some help?