|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
Debug Settings and Preparation
This section covers the settings and preparation that you must perform to debug your program with the Visual Studio debugger. If you create your program in Visual Studio, using the project templates, these settings are enabled for you in the Debug configuration. For more information, see Debug and Release Configurations.
In This Section
- Specifying Debugger Settings
- Provides instructions on setting debugger options. These options control such things as how variables are displayed, whether certain warnings are presented, how breakpoints are set, and how breaking affects running programs.
This section also includes topics that cover setting debug permissions; debug and release configurations; project settings for a C or C++ debug configurations, C# debug configurations, and Visual Basic debug configurations; descriptions of PDB and DBG Files; and installing system debug symbols.
- Debugging Preparation: Visual C++ Project Types
- Provides links to topics that describe how to debug the basic project types created by the Visual C++ project templates. Links include: Visual C++ Windows Applications, Visual C++ Console Applications, MFC DLLs, ASP.NET Web Services created with Managed Extensions for C++, Console Applications Created with Managed Extensions, and Class Libraries Created with Managed Extensions.
- Debugging Preparation: C# and Visual Basic Project Types
- Provides links to topics that describe how to debug the C# and Visual Basic project types created by the Visual Studio project templates. Links include Windows Applications, Class Libraries, Windows Control Libraries, ASP.NET Web Applications, ASP.NET Web Service Projects, Console Applications, and Windows Services.
- Remote Debugging Setup
- Describes remote debugging and provides links to setting up remote debugging, errors, configuring DCOM for remote debugging, remote debugging under another user account, remote debugging across domains, and coexisting with the Visual Studio 6.0 debugger.
- Debugging an Executable that Is Not Part of a Visual Studio Solution
- Provides instructions for debugging an executable that is not part of a Visual Studio project.
- Debugging Home Page
- Provides links to the larger sections of the debugging documentation. Information includes: what's new in the debugger, settings and preparation, breakpoints, handling exceptions, edit and continue, debugging managed code, debugging Visual C++ projects, debugging COM and ActiveX, debugging DLLs, debugging SQL, and the user interface references.
- Debugging Client-Side Scripts
- Discusses testing scripts and client side scripts in ASP.NET pages. Tasks you can perform when debugging client-side scripts in a Web page include: viewing source code, controlling the pace of script execution with breakpoints and stepping, viewing and changing variable and property values, and viewing and controlling script flow with the Call Stack window.