Microsoft KB Archive/823242

= Set the path of the symbol server in Visual Studio .NET or in Visual Studio 2005 =

Article ID: 823242

Article Last Modified on 11/26/2007

-

APPLIES TO


 * Microsoft Visual Studio 2005 Professional Edition
 * Microsoft Visual Studio 2005 Standard Edition
 * Microsoft Visual Studio .NET 2003 Professional Edition
 * Microsoft Visual Studio .NET 2003 Enterprise Architect
 * Microsoft Visual Studio .NET 2003 Enterprise Developer
 * Microsoft Visual Studio .NET 2003 Academic Edition
 * Microsoft Visual Studio .NET 2002 Professional Edition
 * Microsoft Visual Studio .NET 2002 Enterprise Architect
 * Microsoft Visual Studio .NET 2002 Enterprise Developer
 * Microsoft Visual Studio .NET 2002 Academic Edition

-



SUMMARY
You can use Microsoft Visual Studio .NET or Microsoft Visual Studio 2005 to download the correct symbols from a symbol server to debug your project. This article lists the methods that you can use to specify the path of a symbol server in Visual Studio .NET or Visual Studio 2005.



MORE INFORMATION
You can set the symbol server path at the project level. You can also set the symbol server path to apply to any instance of Visual Studio .NET or of Visual Studio 2005 that you use to debug a project.  For information about how to set the path of the symbol server for a specified project, visit the following Microsoft Web site:

http://msdn2.microsoft.com/en-us/library/b8ttk8zy(vs.71).aspx

 For information about how to set the path of the symbol server through the _NT_SYMBOL_PATH environment variable or the _NT_ALT_SYMBOL_PATH environment variable, visit the following Microsoft Web site:

http://msdn2.microsoft.com/en-us/library/ms681416.aspx



Visual Studio .NET and Visual Studio 2005 use SymSrv.dll to deliver symbol files from a centralized symbol store. When you specify in Visual Studio .NET or in Visual Studio 2005 both the environment variable _NT_SYMBOL_PATH (or _NT_ALT_SYMBOL_PATH) and the Debug Symbol Files solution property setting, the solution property setting takes precedence over the environment variable setting for SymSrv.dll.

For more information about the sequence that the symbol path is initialized in for SymSrv.dll (SymInitialize), visit the following Microsoft Web site:

http://msdn2.microsoft.com/en-us/library/ms681351.aspx

