C++ Debug Problem - pdb file
-
20-09-2019 - |
Question
I have several DLLs in my project that are defined to create their *.pdb file (debug info) inside the same folder. The problem is that the only *.pdb file that actually exist inside this folder is the one that belongs to the last compiled DLL. As a result I can debug only the last project (each compilation deletes all the *.pdb in the folder and creates the current compiled DLL pdb file.)
How can I resolve it ? I'm using Visual Studio 2003.
Solution
Or you can create separate folder for program releases, and always compile and execute your program from the newest release-folder. This way you can also manage all other external files like images and what not.
OTHER TIPS
You either remove *.pdb
from Extensions to delete on clean in the project settings or, better, use different Intermediate Directories.
Both settings are in Configuration Properties -> General.