Data Collection: dotnet-trace

How to collect a Dotnet-trace?

  1. Download dotnet-trace from the Direct download section Dotnet - Trace Performance Analysis Utility
  2. Copy it to the machine where the .Net process is running
  3. Run dotnet-trace.exe ps to list the .Net processes running
  4. Copy the Process ID (PID) for the process you want to trace
  5. Run dotnet-trace.exe collect -p PID
  6. Replicate the problem.
  7. Press Enter in the CMD window
  8. Send the .nettrace file(s).