This post was first published in Michael’s Coding Spot, and is the base for our upcoming LINQ debugging webinar. LINQ is one of my favorite features in C#. It just makes the code look nicer. Instead of tedious foreach loops, we got a neat functional syntax that’s easy to write and understand. Well, at least if we’re
There was once a computer programmer. There had been programmers before this one and there were programmers after him. In that way he wasn’t remarkable but in many, many other ways he was. Sir Tony Hoare was the creator of the Quicksort, Hoare logic and, unfortunately, the concept of null. Speaking at QCon in 2009
Famed computer scientist Donald Kunth once wrote that premature optimization is the root of all evil. I dare say that the problems the famed algorithmist faced are slightly more advanced than those most of us run into on a daily basis. Nonetheless the rule has been repeated and passed down from programmer to programmer over
As programmers, we can’t escape debugging. It is an integral part of our daily work, and it often means trouble. Programming is the act of producing value by writing code. When spending time debugging we aren’t producing value, to the contrary; It means we have bugs in our code, which means we have produced a
This post originally appeared on Michael’s Coding Spot Fixing bugs is a huge part of a developer’s job, but not many think or read about the actual process of solving a bug. We sort of go at it intuitively, trusting our own self-developed process. Some of us tend to think of bug solving as the
This post originally appeared on Moaid Codes Visual Studio is a great IDE with a great Debugger. It currently provides one of the best debugging experiences out there. The extensibility and the customizability of Visual Studio makes it even better. For example, it provides Attributes for customizing the display of objects during debugging sessions.
There’s a window in Visual Studio which enable you to run code regardless of where and what you’re currently debugging. That magical windows is known as the Immediate window. To use it all you need to do is write valid code – such as System.Console.Write(“Hello”) and presto: Countless developers have used this window during debugging