Question : VS2008 C++ - lost debugging information

Hi  I am using VS2008 Team. Have been working on the project for ages no problem then suddenly I was just compiling a couple of 1 line code chages - did not change a thing to the setting, but now when I run the code in debug I get a dialog saying:

"Debugging information for 'CMSd.exe' cannot be found or does not match. Symbols not loaded"

Right exe name. Seem not be linking the symbols into the exe, any pointers?

VS Details - VS Version (From Help/About):
Microsoft Visual Studio 2008
Version 9.0.30729.1 SP
Microsoft .NET Framework
Version 3.5 SP1

Installed Edition: Enterprise

Microsoft Visual Basic 2008   91899-270-8555615-60207
Microsoft Visual Basic 2008

Microsoft Visual C# 2008   91899-270-8555615-60207
Microsoft Visual C# 2008

Microsoft Visual C++ 2008   91899-270-8555615-60207
Microsoft Visual C++ 2008

Microsoft Visual Studio 2008 Tools for Office   91899-270-8555615-60207
Microsoft Visual Studio 2008 Tools for Office

Microsoft Visual Studio Team System 2008 Architecture Edition   91899-270-8555615-60207
Microsoft Visual Studio Team System 2008 Architecture Edition

Microsoft Visual Studio Team System 2008 Database Edition   91899-270-8555615-60207
Microsoft Visual Studio Team System 2008 Database Edition

Microsoft Visual Studio Team System 2008 Development Edition   91899-270-8555615-60207
Microsoft Visual Studio Team System 2008 Development Edition
 etc..

Answer : VS2008 C++ - lost debugging information

>>>> Solution:    Reboot!
A restart of Visual Studio IDE probably has worked as well.

Note, the Visual Studio caches some current project status information in .ncb file. That cache only will be actualized at a new pogram start. When the above message comes timestamps of the last build do not map to the information stored in the pdb file. As far as I found out in similar cases, the issue could be solved by quitting Visual Studio and restart again. Of course a reboot would make a quit as well ;-)  But, I also had cases where I had to delete all temporary project files, especially .ncb, .aps, .pdb, .ilk, before the error was gone.
Random Solutions  
 
programming4us programming4us