Compartilhar via


Debugging in Visual Studio 

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's 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 what your code does.

In This Section

  • Debug Settings and Preparation
    Covers the Project Property settings and setup you must perform to create a debug build for your project. Also covers setup for remote debugging, debugging Code Center Premium source, debugging a partial-trust application, and debugging a high-performance cluster application.
  • Debugger Roadmap
    Discusses the fundamentals of using the Visual Studio 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 managed code written in Visual Basic, Visual C#, Visual J#, and C++.
  • Debugging Native Code
    Discusses some common debugging problems and techniques for C and C++ applications.
  • Debugging Web Applications
    Describes common debugging problems and techniques you might encounter when debugging Web applications. Sections include debugging ASP.NET and ASP Web applications, debugging ATL Server Web applications, 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, such as the Breakpoints window.
  • Walkthrough: Debugging an Add-in Project
    Add-ins are compiled applications that use the Visual Studio automation object model to manipulate or automate the integrated development environment. This topic shows how to debug a Visual Studio add-in project
  • Deploying Applications and Components
    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.