Why I can debugger .cpp and .C in macos, but torch not work

Dear ALL, I’m debugging pytorch source code using gdb on my mac, but I’ve compiled it many times and it doesn’t work! Can anyone give me some help? sudo MACOSX_DEPLOYMENT_TARGET=14.1 CC=clang CXX=clang++ USE_DISTRIBUTED=1 python3 setup.py

It doesn’t go into the pytorch source.
image



python code can run