How to NOT generate debug information for specific source files / source sections?
Is there a way to create a Debug build of our Vs2005 (C++) project and exclude specific modules or code sections from being included into the debug information? Or is there an option to have VS generate multiple PDB files from a single project?
It looks like our generated PDB file is getting too large for Visual Studio to handle/generate correctly and the result is that VS tells us that the debug symbols do not match. Sometimes it works, sometimes it does not.
I investigate the option of splitting the project into multiple smaller projects, but I guess this will take some time. But it would be g开发者_如何学JAVAreat if we could debug the current project as it is in the meantime.
I agree with Andreas' comment - you're almost certainly better splitting the project.
However, if you right-click a C++ source file (don't think you can do this with C#), and open the properties you've got complete control over how that specific file (or files) is built.
K
精彩评论