Visual Studio 2010 not generating .pdb files

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 create the pdb files?

Answers


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


Need Your Help

Uploading Blobs in Blocks using REST API times out on second chunk

rest azure azure-storage-blobs http-streaming chunking

NOTE: Could somebody give me an example SAS string (with the block info appended in the right area) that needs to be sent to the Azure blob storage? I think that's the issue that I'm having. I n...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.