Partager via


How to: Reference Windows symbol information

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

The Visual Studio Profiling Tools use symbol (.pdb) files to resolve symbolic names such as function names in program binaries. You can follow these steps to automatically download and update the correct .pdb files for the version of Windows on the local computer.

Note

This setting does not affect existing reports. Only reports created after specifying the symbol server will have the symbol information.

For more information, see Specify symbol (.pdb) and source files.

To use the Microsoft symbol server

  1. Create a folder to contain the symbol file information, such as C:\SymbolCache.

  2. On the Tools menu, click Options.

    The Options dialog box appears.

  3. Expand the Debugging tree, and then click Symbols.

  4. In the Symbol file (.pdb) locations, select Microsoft Symbol Servers

  5. In the Cache symbols from the symbol server to this directory, type the path of the folder that was created in step 1, for example:

    C:\SymbolCache

    You can also click the ellipsis button (...) and then select a directory from the Browse for Folder dialog box.

See also