Search
Close this search box.

HOW TO SETUP VISUAL STUDIO 2005 TO USE THE MICROSOFT SYMBOL SERVER

One of the first things you will want to do after installing visual studio is to set it up to automatically pull down the correct symbols for system components when debugging. You do this by configuring Visual Studio to use the Microsoft Symbol Sever.

In VS 2005, do the following:

  1. Open Visual Studio. Goto Tools->Options
  2. Expand the “Debugging“ node
  3. Click on the “Symbols“ node under “Debugging“
  4. Click on the icon that looks like the new folder icon to add a new .pdb location
  5. Type the following for the location “smysrv*symsrv.dll*c:\symbols*http://msdl.microsoft.com/downloads/symbols“

Archives

  1. “smysrv*symsrv.dll*c:\symbols*http://msdl.microsoft.com/downloads/symbols“
  2. In the Cache symbols from symbol servers to this directory, enter the local path you used in step 5. In this case “c:\symbols“
  3. Click Ok.

To test it out, try attaching to some windows process like iexplore.exe (if you have IE running). Goto debug->windows->modules. You should now see that symbols are loaded for all the system dlls and iexplore.exe. You can also open the local path used in step 5 and you should see folders for all the dlls that have been debugged so far.

Happy Debugging!

This article is part of the GWB Archives. Original Author: Tom Wisnowski

Related Posts