Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Everything / programming / debugging

Debugging

debugging

Great Reads

by Marius Bancila
This article proposes a list of even more debugging tips for native development with Visual Studio.
by Marius Bancila
This article proposes a list of debugging tips for native development with Visual Studio.
by Ivan Shcherbakov
The article describes 10 time-saving debugging techniques available in Visual Studio.
by Trần_Tuấn_Anh
In the world of software development, the Don’t Repeat Yourself (DRY) principle is more than just a best practice—it’s a fundamental approach to writing clean, efficient, and maintainable code. But why is it so important?

Latest Articles

by Marius Bancila
This article proposes a list of even more debugging tips for native development with Visual Studio.
by Marius Bancila
This article proposes a list of debugging tips for native development with Visual Studio.
by Ivan Shcherbakov
The article describes 10 time-saving debugging techniques available in Visual Studio.
by Trần_Tuấn_Anh
In the world of software development, the Don’t Repeat Yourself (DRY) principle is more than just a best practice—it’s a fundamental approach to writing clean, efficient, and maintainable code. But why is it so important?

All Articles

Sort by Score

debugging 

by PJ Arends
Trace your function calls to the Output window.
by mlzg4
This stream implementation is fast, thread-safe, easy to use, and very useful for debugging large distributed or concurrent projects.
by Marcell Lipp
A proof introduction to Git blame and Git bisect
by Karthik. A
Debugging ASP.NET MVC routes simplified using "Route Debug"
by Steffen Ploetz
Automatically Disappearing Dialog
by DaveAuld
Object inspection with %O in the console output
by AndreBroz
How to debug DirectShow
by mudasser ajaz
How to debug ionic Android application in development phase
by Sebastian Solnica
This post is the second and final one dedicated to debugging .NET Windows services.
by elad2109
New feature I have recently found out-After toggle a breakpoint in VS2010 you can right click on it and change it to a tracepoint (only prints logs when access though it) or add filters for example: breaks the execution only for a specific thread.
by VipinMittal18
How to enable debugging in Twig templates - Drupal 8
by Octopod
An easy way to trap all the memory leaks of your application.
by Lakamraju Raghuram
For Visual Studio IDE we can detect leaks by using CRT debugger functions#define _CRTDBG_MAP_ALLOC#include #include void main(){ // ...... // ...... _CrtDumpMemoryLeaks();}This will dump leaks if any to the Output window. Check this link :...
by Marcell Lipp
Git used for debugging
by borchef
This is the introduction to a series of articles about Modulair JavaScript.
by Michael Engstler
This tip is about how to setup Kernel-Mode Debugging in a VM using Visual Studio 2012.
by Michael Collins - Intervalia
Use the code below to determine the number of bindings of your Angular apps
by Sohel_Rana
Sometimes you need to debug an application in a point where it’s difficult to attach debugger manually. For applications which you can’t run directly from Visual Studio (say windows service), you usually use attach process to visual studio to debug. So if you have a windows service running (with...
by Nitin_Garg
Macro to attach visual studio debugger to w3wp apppool hosting your webservice.
by GuruprasadV
Check if dependency of a table are objects referenced by a stored proc. A system table with CTE can help to identify dependency quickly.
by TheyCallMeMrJames
When you hover over a variable with the debugger running you will see a thumbtack that allows you to pin the variable to the editor window. This is cool for a number of reasons.1) It is much easier to see changes to a set of variables in any kind of a loop construct. You can even pin...
by Ajay Vijayvargiya
This feature may not seem useful initially, and might appear distracting you. But it is one of the very useful (new) features in Visual Studio 2010. You'll love it after using it for a while!While debugging, you typically put some variables in Watch Window (or use Locals, Autos etc). When...
by yuvalsol
Print DataTable, DataView, DataSet, DataRow[] to Console, StringBuilder or Stream
by Gil Yoder
Visual Studio 2010 has a new visualizer for WPF that exposes a dependency object's visual tree.
by Daniele Rota Nodari
I was glad to integrate your code into my C# application.Actually, within the debugger windows, I can't recognize any human-readable reference to the calling process, but the function is working. :)So, for whoever may be interested, the following code is my C# 4 equivalent:using...
by Raheel12345
How to attach all w3wp.exe processes to debugger with single click.
by Rion Williams
This post will provide a short walk-through for handling and updating these areas of your application to gain more control over debugging, testing and running your applications through Visual Studio.
by #realJSOP
When all else fails, fire off some events and bask in the glow of the IDE's Progress tab.
by Huisheng Chen
Using reflection to dynamically verify if an assembly is in debug or release compilation
by Kári Poulsen
Allows you to very easily see live trace output on any machine.
by Adil Mughal
Demonstrate the functionality provided by Debug class in .NET
by Bartlomiej Filipek
By default, Visual Studio (up to VS 2013) uses additional debug heap that slows down applications, even in Release mode. Read what you can do about this.
by Eddy Vluggen
You've been taught to give every component and variable a descriptive name; why do most then don't do it for a thread, when it is easy and beneficial?