Specifying Debugger Settings
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
- From the Tools menu, choose Options.
- In the Options dialog box open the Debugging folder.
- 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.)
- Select or clear the desired option or options. Press F1 to get help on the options.
Certain project settings also affect debugging. These settings determine things such as what directories the debugger looks at, the command and command arguments used to launch the program, and the type of debug information created for the program. You can change these settings in the Property Pages dialog box. For details, see Debug and Release Configurations.
For additional information on debug settings, see the following topics in this section:
- Setting Debug Permissions
- Project Settings for a C or C++ Debug Configuration
- Project Settings for a C# Debug Configuration
- Project Settings for a Visual Basic Debug Configuration
- PDB Files
- DBG Files
- Installing System Debug Symbols
For information on setting paths for source files and symbols, see Debug Source Files, Common Properties, Solution Property Pages Dialog Box and Debug Symbol Files, Common Properties, Solution Property Pages Dialog Box.
Customizing the Development Environment | General, Debugging, Options Dialog Box | Edit and Continue, Debugging, Options Dialog Box | Native, Debugging, Options Dialog Box | Debug Settings and Preparation