Roadmap for debugging hangs, memory leaks, deadlocks, and race conditions in Visual Basic .NET and in Visual Basic 2005

Article translations Article translations
Article ID: 317297 - View products that this article applies to.
This article was previously published under Q317297
This article has been archived. It is offered "as is" and will no longer be updated.
Expand all | Collapse all

On This Page


This article provides a roadmap to learn and master "Debugging Hangs, Memory Leaks, Deadlocks, and Race Conditions." To assist you as you learn a Microsoft product or technology, roadmap articles provide links to useful information, including online documentation, Microsoft Knowledge Base (KB) articles and white papers.


The following links provide overview information about Debugging Hangs, Memory Leaks, Dead Locks and Race Conditions:
Debugging Articles
The .NET SDK Debugger
Visual Basic .NET: Tracing, Logging, and Threading Made Easy with .NET
Debugging User Interface Reference
Debugging in Visual Studio 2005


The following links provide architectural (internal) information about Debugging:
CLR Debugger
Runtime Debugger
Trace Class
Debug Class

Key Concepts and Quickstarts

The following links take you to documentation about key Debugging concepts and Quickstart tutorials:
Debugging with the .NET Framework SDK Tutorial

How To Articles

How To articles provide step-by-step instructions for accomplishing specific tasks. Run the following Microsoft Knowledge Base query to return How To articles about Debug:
Q313417 - HOW TO: Trace and Debug in Visual Basic .NET
Q306978 - HOW TO: Use QueryPerformanceCounter to Time Code in Visual Basic .NET

For additional information about how to set breakpoints, click the article number below to view the article in the Microsoft Knowledge Base:
308469 HOW TO: Set Conditional Breakpoints in Visual Studio .NET


If you run into problems along the way and you need some answers to your questions, refer to the Microsoft Newsgroups, where you can share your experiences with your peers, or to the Microsoft Knowledge Base (KB), where you can search for KB articles about specific issues. These resources are available at the following links:
MSDN Newsgroups
Microsoft Knowledge Base



Q316422 - INFO: Roadmap for Threading in VB.NET - This article links to all the basics of threading. This will help you to understand better how threading works so that you will be able to understand the problems that can be encountered since threads cause race conditions and deadlocks.

Memory Management

Automatic Memory Management
Programming for Garbage Collection
Garbage Collection Technology Sample
Garbage Collection: Automatic Memory Management in the Microsoft .NET Framework
Garbage Collection-Part 2: Automatic Memory Management in the Microsoft .NET Framework
Implementing Finalize and Dispose to Clean Up Unmanaged Resources


Article ID: 317297 - Last Review: February 27, 2014 - Revision: 9.0
Applies to
  • Microsoft Visual Basic 2005
  • Microsoft Visual Basic .NET 2003 Standard Edition
  • Microsoft Visual Basic .NET 2002 Standard Edition
kbnosurvey kbarchive kbvs2005applies kbvs2005swept kbhowto kbarttyperoadmap kbinfo KB317297

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from