Microsoft Learn
learn.microsoft.com › en-us › dotnet › core › diagnostics › eventsource-collect-and-view-traces
Collect and View EventSource Traces - .NET | Microsoft Learn
November 5, 2024 - To bring up the Events viewer, double click the Events item that appears in the tree view below the trace file. All event types in the trace are shown in the list at the left. Double click an event type, such as Demo\AppStarted, to show all ...
Microsoft Learn
learn.microsoft.com › en-us › dotnet › core › diagnostics › dotnet-trace
dotnet-trace diagnostic tool - .NET CLI - .NET | Microsoft Learn
March 20, 2026 - Learn how to install and use the dotnet-trace CLI tool to collect .NET traces of a running process without the native profiler, by using the .NET EventPipe.
Videos
GitHub
github.com › verdie-g › dotnet-events-viewer
GitHub - verdie-g/dotnet-events-viewer: Analyze .NET events collected with dotnet-trace in the browser · GitHub
This tool is a modern alternative to PerfView to analyze nettrace files collected from the .NET runtime's EventPipe or through the tool dotnet-trace.
Starred by 40 users
Forked by 5 users
Languages C# 93.1% | HTML 6.2% | CSS 0.7%
GitHub
github.com › dotnet › diagnostics › blob › main › documentation › dotnet-trace-instructions.md
diagnostics/documentation/dotnet-trace-instructions.md at main · dotnet/diagnostics
The dotnet-trace tool is a cross-platform CLI global tool that enables the collection of .NET Core traces of a running process without any native profiler involved. It is built around the EventPipe technology of the .NET Core runtime as a ...
Author dotnet
Microsoft Learn
learn.microsoft.com › en-us › dotnet › framework › wcf › service-trace-viewer-tool-svctraceviewer-exe
Service Trace Viewer Tool (SvcTraceViewer.exe) - WCF | Microsoft Learn
Use Service Trace Viewer to merge, view, and filter trace messages in the log so that you can diagnose, repair, and verify WCF service issues.
Microsoft Learn
learn.microsoft.com › en-us › dotnet › core › diagnostics › trace-perfcollect-lttng
Tracing .NET applications with PerfCollect. - .NET | Microsoft Learn
April 13, 2025 - ./perfcollect view sampleTrace.trace.zip -viewer lttng · This will use babeltrace viewer to print the events payload: # [01:02:18.189217659] (+0.020132603) ubuntu-xenial DotNETRuntime:ExceptionThrown_V1: { cpu_id = 0 }, { ExceptionType = ...
Red Hat
developers.redhat.com › blog › 2019 › 12 › 23 › tracing-net-core-applications
Tracing .NET Core applications | Red Hat Developer
February 13, 2024 - For example, this is how you can trace a .NET Core application named web for the default profile (cpu-sampling) and output a speedscope file. $ dotnet trace collect -p $(pidof web) --format speedscope Provider Name Keywords Level Enabled By Microsoft-System-Net-Http 0xFFFFFFFFFFFFFFFF Verbose(5) --providers Process : /tmp/web/bin/Debug/netcoreapp3.0/web Output File : /tmp/trace/trace.nettrace [00:00:00:08] Recording trace 2.3301 (MB) Press or to exit...
Samsung Developer
developer.samsung.com › tizen › blog › en › 2020 › 07 › 23 › finding-performance-bottlenecks-with-dotnet-trace
Finding Performance Bottlenecks with dotnet-trace | Samsung Developer
July 23, 2020 - Notice that the trace shows call paths for not only your own code but also external code. If you see any performance issues related with the external code, you should identify if it's your code misusing the external library, or the library itself has a defect or performance limitations. To learn more about the speedscope viewer, check out the following pages. ... Note: dotnet-trace collects thread stack information on a sampling basis.
Microsoft Learn
learn.microsoft.com › en-us › dotnet › core › diagnostics › dotnet-monitor
dotnet-monitor diagnostic tool - .NET | Microsoft Learn
Learn how to install and use the dotnet-monitor tool to collect dumps, traces, logs, and metrics from applications in production environments.
Microsoft Learn
learn.microsoft.com › en-us › shows › on-dotnet › aspnet-core-series-tracing
ASP.NET Core Series: Tracing | Microsoft Learn
June 16, 2020 - Tracing your applications allows you to gain some insights into the end to end health of an application.In this episode, Sourabh Shirhatti from the ASP.NET team comes on to show us how to collect and inspect traces in our ASP.NET applications[01:02] - When should developers care about observability ?[02:26] - How do you get started with tracing?[05:19] - Using the dotnet-trace too[12:40] - Inspecting the trace results Useful Links.NET Trace tool Logging and tracing in .NET Diagnostic tools in .NET Core
Adamsitnik
adamsitnik.com › speedscope
Profiling .NET Code with PerfView and visualizing it with speedscope.app
March 22, 2019 - According to the official web page, speedscope.app is “a fast, interactive web-based viewer for performance profiles”. But I believe it’s more than that! In my opinion, it’s one of the best visualization tools for performance profiles ever! Some time ago I have implemented SpeedScopeExporter which allows exporting any .NET Trace file to a speedscope json file format.
Top answer 1 of 2
7
If you change listener to XmlWriterTraceListener you can use SvcTraceViewer.exe to open the trace file. It is supposed to be used with WCF tracing and message logging but it works with any valid traces from XmlWriterTraceListener.
2 of 2
0
IF your TextWriterTraceListener is writing to a text file, you can use a tail viewer (ie your view of the text file looks at the bottom of the file, constantly updating, rather than the start) like baretail
DevOpsSchool.com
devopsschool.com › blog › dotnet-trace-a-complete-dotnet-trace-tutorials-guide
dotnet-trace: A Complete dotnet-trace Tutorials Guide
November 25, 2025 - Other trace analysis tools that support .nettrace or converted formats. You can demonstrate effect of code changes, GC settings, async vs sync, etc., visually. # List .NET processes dotnet-trace ps # Collect basic trace dotnet-trace collect --process-id <pid> # Collect CPU trace for 2 min dotnet-trace collect --process-id <pid> --profile cpu-sampling --duration 00:02:00 --output cpu.nettrace # Collect GC-verbose trace dotnet-trace collect --process-id <pid> --profile gc-verbose --duration 00:01:00 --output gc.nettrace # Run an app and trace it dotnet-trace collect -- dotnet MyApp.dll # List built-in profiles dotnet-trace list-profiles # Convert to speedscope dotnet-trace convert cpu.nettrace --format speedscope # CPU report dotnet-trace report cpu.nettrace --report-type cpu # GC-verbose report dotnet-trace report gc.nettrace --report-type gc-verbose Code language: CSS (css)
Microsoft Learn
learn.microsoft.com › en-us › dotnet › core › diagnostics › tools-overview
.NET Diagnostic tools overview - .NET | Microsoft Learn
December 4, 2024 - The dotnet-monitor tool is a way to monitor .NET applications in production environments and to collect diagnostic artifacts (for example, dumps, traces, logs, and metrics) on-demand or using automated rules for collecting under specified conditions.