Discussion:
VS 2008 SP1 breaks stepping into CRT source.
(too old to reply)
void *p;
2009-04-09 18:34:13 UTC
Permalink
Prior to loading SP1 for VS 2008, I was able to step into the CRT source.
After loading SP1, the debugger complains that "There is no source code
available for the current location."

I verified this by loading VS 2008 and later SP1 on a clean machine.
Scot T Brennecke
2009-04-10 08:44:36 UTC
Permalink
The debugger correlates code addresses to source code locations by way of symbol files (with PDB
extension). When you install VC++ or a SP for it, the symbols for the CRT (and other VC libraries)
are normally installed in the symbols\dll folder under your Windows installation directory (such as
C:\WINDOWS\). In Visual Studio, you tell the debugger where to find symbols in the Tools | Options
| Debugging | Symbols property page. Make sure you have the updated PDB files in the symbols\dll
directory, and make sure that directory is also listed on the Symbols property page.

Additionally, I would recommend that you add these to your Symbols property page list (after the
other directory):
http://msdl.microsoft.com/download/symbols
http://source.msdn.microsoft.com/symbols

Also, I suggest you create a folder on your local hard drive (with lots of free space) to be a local
cache for downloaded Microsoft symbols. Indicate that folder in the edit box indicated below the
list above.
Post by void *p;
Prior to loading SP1 for VS 2008, I was able to step into the CRT source.
After loading SP1, the debugger complains that "There is no source code
available for the current location."
I verified this by loading VS 2008 and later SP1 on a clean machine.
Loading...