共用方式為


How to: Specify Debugger Settings

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

In Visual Studio, you can specify various settings for debugger behavior, including how variables are displayed, whether certain warnings are presented, how breakpoints are set, and how breaking affects running programs. You specify debugger settings in the Options dialog box.

To set debugger options

  1. On the Tools menu, click Options.

  2. In the Options dialog box, open the Debugging folder.

  3. In the Debugging folder, choose the category of options you want.

    The most common options are located in the General category. For more information, see General, Debugging, Options Dialog Box.

  4. Select or clear the desired option or options. Press F1 to get Help about the options.

See also