开发者

Visual Studio 2010 not generating .pdb files

开发者 https://www.devze.com 2023-03-06 19:26 出处:网络
I was trying to debug a c++ app, but I saw breakpoints show \"breakpoint will not be hit\", so I checked the modules window and I saw \"Binary was not build with debug information\" so no symbols are

I was trying to debug a c++ app, but I saw breakpoints show "breakpoint will not be hit", so I checked the modules window and I saw "Binary was not build with debug information" so no symbols are loaded. And the only pdb file on the /debug folder is vc100.pdb, and there are no other pdb files anywhere in the project folders.

In properties C/C++ > Debug Information Format, I have set Program Database (/Zi). And runtime library is set to Multi-threaded Debug (/MTd).

Am I missing any other setting that's causing not to cre开发者_开发百科ate the pdb files?


You also need to have: Properties > Linker > Debugging > Generate Debug Info = "Yes"

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号