Debugging tends to be a painful experience for most developers. In this article, I will show you a few tricks, that will make your debugging experience more comfortable. I will be doing examples in C#, but the methodologies should apply to other languages supported by Visual Studio as well.

Override ToString Methods:

The Visual Studio debugger will actually use this method to display a string representation of your objects in the IDE. So let us assume you have implemented a Name class with properties for a first and last name, and it may look something like this.

#visual-studio #coding #programming #software-development #debugging

5 Tricks For Better Debugging in Visual Studio
2.15 GEEK