Hi, I am new to writing cpp extensions and  met the same problem. Do you find out how to debug cpp extensions?  For now, I just add prinf in cpp scripts and run python setup.py install again and again to find out where is the bug.
Any suggestions for how to debug c++ extensions? Or any keyword for how to search such problems?
Many thanks!