Setting the _NT_SYMBOL_PATH environment variable


Windows XP

the common Microsoft debugging tools use the SymSrv technology if you provide the correct symsrv syntax in the _NT_SYMBOL_PATH environment variable. These tools automatically include whatever you provide in the variable as the symbol path.

You can set this variable as a system variable or as a user environment variable. To do this from the desktop, right-click My Computer, and then click Properties. On the Advanced tab, click Environment Variables.

You can also set this variable temporarily at a command prompt. In this way, all applications that you start through the command prompt inherit this setting. For example:
Set _NT_SYMBOL_PATH = SRV*c:\Symbols*http://msdl.microsoft.com/download/symbols


Windows 7


For Microsoft internal Windows 7 systems, "srv*c:\symbols" is enough - it will figure out the symbol path internally.




Comments