World Library  
Flag as Inappropriate
Email this Article

Microsoft Visual Studio Debugger

Article Id: WHEBN0000468566
Reproduction Date:

Title: Microsoft Visual Studio Debugger  
Author: World Heritage Encyclopedia
Language: English
Subject: Microsoft Visual Studio, Intel Debugger, Debuggers, Debugger, Comparison of debuggers
Collection: Debuggers, Microsoft Visual Studio
Publisher: World Heritage Encyclopedia

Microsoft Visual Studio Debugger

The Microsoft Visual Studio Debugger is a debugger that ships along with all versions of Microsoft Visual Studio. This debugger owes much of its feel and functionality to CodeView, a standalone, text-based debugger that shipped with Microsoft Visual C++ version 1.5 and earlier.

More advanced features of the most recent versions of this debugger include:

  • Full symbol and source integration.
  • Edit and continue support, enabling source code to be modified and recompiled on-the-fly without having to exit the current running program or restart the debugger (32 bit applications only).
  • Remote machine debugging.
  • Attaching and detaching to and from processes (both on the current machine and a remote machine).
  • Integrated debugging across programs written in both .NET and native Windows languages (calls from C# to C++, for example).
  • Full support for C++, including templates and the standard library
  • Debugging ASP.NET Web Services.
  • Tracing into DLL code when symbolic debugger information is present.
  • Standard as well as more advanced breakpoint features, including conditional, address, data breakpoints.
  • Many ways of viewing program state and data, including multiple watch windows, threads, call stack, and modules. The way library and user data types are displayed can be configured (e.g., to show contents of a container class, rather than its raw structure).
  • Scriptability or the ability to control via a macro or scripting language. Any language which can talk to COM can be used.
  • Local and remote debugging of SQL stored procedures on supported versions of Microsoft SQL Server.

The main shortcoming of the Visual Studio Debugger is its inability to trace into kernel-mode code. However, this is possible using a free VisualDDK extension. Alternatively, kernel-mode debugging of Windows is generally performed by using WinDbg, KD, or SoftICE.

The Visual Studio Debugger also has no ability to debug Lambda-Expressions or LINQ. This is because it would take too much work for Microsoft to implement.[1][2][3] However, most developers working with Lambda expressions are able to visualize the data through the several memory windows or by storing the result into a variable.

Edit-and-continue is held by many developers as Microsoft's greatest asset given to developers. A program that is running in memory, that encounters a simple mistake, can be corrected without having to stop the current program or exit the debugger. This feature allows very common mistakes to be corrected easily and with great time savings over other solutions which require exiting the program, making the change, recompiling, and then navigating back through the running program to the previous location.


  1. ^
  2. ^
  3. ^
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.

Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.