Visual-studio – Visual Studio 2008: .pdb files not created by “Build Solution”

debuggingvisual studiovisual-studio-2008

I have a Visual Studio 2008 solution containing a number of C++ projects. When I select the Debug configuration, and build each project individually, I find .pdb files for each project in the Debug directory. But when I build the entire solution, I don't. The output files show up in the Debug directory, but the .pdb files are missing.

Any ideas?

Best Answer

Look at Project Properties > Compile - Press Advance Compile Options then new Window will open, find Generate debug info and you can choose None, pdb - only, or full - if none then that would be the reason why you don't have pdb