分享方式:


Symbol Path Command

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

Sets the list of directories for the debugger to search for symbols.

Syntax

Debug.SymbolPath pathname1;pathname2;... pathnameN

Arguments

pathname

Optional. A semi-colon delimited list of paths for the debugger to search for symbols.

Remarks

If no pathname is specified, the command lists the current symbol paths.

Example 1

This example adds two paths to the list of symbol directories.

Debug.SymbolPath C:\Symbol Path 1;C:\Symbol Path 2

Example 2

This example displays a semi-colon delimited list of current symbol paths.

Debug.SymbolPath

See also