Debugging .NET apps for .NET 4.0
With Visual Studio 2010 and .NET 4.0 getting ready to be shipped sometime in the next year, I wanted to see what were peoples ideas for how to debug applications that were written with them. Are you happy in production with what you are currently doing? Do you use SOS.dll to troubleshoot problems?
The main place I am really interested in is production debugging. Is SOS a sufficient tool to get the data that you need? If you had another version of SOS for .NET 4.0, would you be happy with the features it has or would you want something more?
I understand that using a typical debugger can be very difficult for people. If you don’t know what you are looking at, it can be very difficult to understand what is a problem and what is normal. It is also very difficult to see typical problems. For example, if you know your program is crashing due to running out of memory, what do you do to see what is taking up memory? How do you tell if it is fragmentation? What types of fragmentation are there that you would need to look for?
I wanted to see what the interest is in a different way of looking at the data, something more along the lines of DebugDiag.
I’d love to hear your thoughts. Let me know!