This documentation is archived and is not being maintained.


You have created your application and resolved the build errors. You must now correct those logic errors that keep your application or stored procedures from running correctly. You can do this with the development environment integrated debugging functions. These allow you to stop at procedure locations, inspect memory and register values, change variables, observe message traffic, and get a close look at how your code works or does not work.

In This Section

What's New in the Visual Studio .NET 2003 Debugger
Discusses the enhancements to the Visual Studio .NET debugger.
What's New in the Visual Studio .NET 2002 Debugger
Introduces the integrated Visual Studio .NET debugger and discusses new features and major enhancements of the Visual Studio .NET debugger.
Debugging Samples and Walkthroughs
Provides a list of the debugging step-by-step topics that show how to debug Web applications, including setting and removing breakpoints, viewing variables in your application, controlling execution, stepping and continuing, and attaching.
Debug Settings and Preparation
Covers the settings and preparation that you must perform to debug your program with the Visual Studio .NET debugger.
Using the Debugger
Discusses the fundamentals of using the Visual Studio .NET debugger. Topics include debugging basics, execution control, attaching to a running program, Just-In-Time debugging, launching the debugger automatically, dumps, breakpoints, inspecting your program, handling exceptions, Edit and Continue, and using expressions in the debugger.
Debugging Managed Code
Covers common debugging problems and techniques for applications written in Visual Basic, Visual C#, and Managed Extensions for C++.
Debugging Visual C++
Discusses some common debugging problems and techniques for C and C++ applications.
Debugging COM and ActiveX
Provides tips on debugging COM applications and ActiveX controls. Topics include debugging COM servers, debugging COM clients and servers using RPC debugging, debugging an ActiveX Control, and COM debugging tools.
Debugging DLLs
Provides techniques for debugging DLLs and explains how to specify an executable for a debug session.
Debugging Script and Web Applications
Describes common debugging problems and techniques you may encounter when debugging script and Web applications. Sections include debugging ASP.NET and ASP Web applications, debugging ATL Server Web applications, Visual Studio and the Windows Script Debugger, Web server debugging errors, and troubleshooting.
Debugging SQL
Provides information on debugging SQL Server stored procedures, functions, and triggers. Topics include set up, a SQL debugging example, SQL and mixed-language debugging, limitations, debugging extended stored procedures, SQL debugging components, configuring DCOM, and troubleshooting.
Debugging User Interface Reference
Provides reference information on the windows and dialog boxes you use when debugging your application. These topics are also available when you press F1 while you have focus on a debugging user interface element, for example, the Breakpoints window.

Related Sections

Visual Studio Debugger Model
Provides information on automating many debugger features by using the Visual Studio extensibility model.
Default and Custom Builds
Introduces types of builds, selecting and editing build configurations, and deploying solutions.
Testing and Optimizing
Covers the purpose of testing, organizing the testing effort, requirements-based testing, developing a test plan, test plan approaches, and types of testing.
Decision Chart
Provides a graphical, linked guide to decisions about designing your application.
Deployment in Visual Studio
Provides links to various deployment topics, including: deployment concepts, introduction to Microsoft Windows Installer, deployment projects, merge module projects, creating or adding deployment projects, setting properties, adding items to a deployment project, and opening the deployment editors. This section also covers managing file installation, registry settings, file types, user interface, custom actions, and launch conditions.