Microsoft released new IntelliTrace Collector tool with Windows 11 which can be used to debug and analyze problems in production. The tool will work with .NET 2.0 and up, where the only requirement is to have .NET 3.5 installed in production environment in order to collect data. In order to analyze trace files you must have Visual Studio 11 Ultimate edition and a path to your symbols server. Here’s a screenshot of a log.
You can learn more about the tool and how to collect and analyze data from these links: