共用方式為


Debug Source Files, Common Properties, Solution Property Pages Dialog Box

Note

This article applies to Visual Studio 2015. 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

This property page specifies where the debugger will look for source files when debugging the solution.

To access the Debug Source Files property page, right-click on your Solution in Solution Explorer and select Properties from the shortcut menu. Expand the Common Properties folder, and click the Debug Source Files page.

Directories containing source code
Contains a list of directories in which the debugger searches for source files when debugging the solution. Subdirectories of the specified directories are also searched.

Do not look for these source files
Enter the names of any files that you do not want the debugger to read. If the debugger finds one of these files in one of the directories specified above, it will ignore it. If the Find Source dialog box comes up while you are debugging and , you click Cancel, the file you were searching for gets added to this list so that the debugger will not continue searching for that file.

See Also

Debugger Security
Debugger Settings and Preparation