Post by this author
With the release of Visual Studio 16.8 Preview 3 you now have the ability to open and analyze managed dumps collected on Linux and use the best in class debugging tools available in Visual Studio.
If you are focused on squeezing out the last bits of performance for your .NET service or application, you might choose to take advantage of JIT compiler optimizations. However, debugging optimized code can be a challenge. In this blog I’ll show you how the Disassembly Window can help you debug optimized code.
If you are a developer who is curating a successful .NET project using COM interop, then our latest preview of Visual Studio is for you (Download 16.7 Preview 3). This feature automatically decodes managed COM objects referenced by native pointers allowing you to fully inspect values in the Locals window.
Have you ever experienced an exception occurring in a 3rd party .NET assembly but had no source code to figure out why? You can now use Visual Studio to decompile managed code even if you don't have the symbols, allowing you to look at code, inspect variables and set breakpoints.
When unexpected crashes occur in your managed application you are often left with little evidence of the issue; capturing and analyzing memory dumps may be your last best option. Thankfully Visual Studio is a great tool for analyzing your apps memory dumps! In this post we show you how easy it can be to resolve the issue using Visual Studio.
Snapshot Debugger is built for production so you can set Snappoints and Logpoints in code, like debugger breakpoints and tracepoints. However, when a Snappoint is hit in an AKS Linux Docker container, a snapshot is dynamically created without stopping the process. You are then able to attach to these snapshots using Visual Studio.
The Time Travel Debugging (TTD) preview in Visual Studio Enterprise 2019 provides the ability to record a Web app running on a Azure Virtual Machine (VM) and then accurately reconstruct and replay the execution path. TTD integrates with our Snapshot Debugger offering and allows you to rewind and replay each line of code however many times you want, helping you isolate and identify problems that might only occur in production environments.
We are excited to announce that in Visual Studio Enterprise 2019 we are expanding Snapshot Debugger support beyond Azure App Services hosting ASP.NET Core and ASP.NET applications to also include Azure Virtual Machines (VM), Azure Virtual Machine scale sets (VMSS) and Azure Kubernetes Services (AKS).