C#调试DLL时,无法进入DLL源码断点 Source Not
2020-12-31 本文已影响0人
XBruce
编译时选择
1> C/C++ -> General--> Debug Information Format--> P D For Edit and Continue /ZI
2> C/C++ ->Optimization--> Disabled
3> Linker-> Debugging -->Generate Debug Info -->/DEBUG:FULL
将生成的pdb等文件拷贝到dll同目录
Enjoy It.