.NET 8 introduces a lot of debugging improvements. If you take a look for example at the HttpContext
, you see that you get a much better debug summary than in .NET 7:
.NET 7:
.NET 8:
But that is not a feature I want to bring under your attention. After recently updating my Visual Studio version, I noticed the following announcement among the list of new Visual Studio features:
That is great news! This means that you can debug your .NET 8 applications without a big performance impact on the rest of your code.
The only thing we need to do is to disable the Just My Code option in Visual Studio:
If we now try to debug a referenced release binary, only the relevant parts are decompiled without impacting the other code:
More information
Debugging Enhancements in .NET 8 - .NET Blog (microsoft.com)