microsoft / microsoft/perfview
Diagsession files not opening normally
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 4.7k
- Forks
- 775
- Avg merge
- 5d 11h
- Merged PRs (30d)
- 9
Description
Perfview recently started having an issue with open .diagsession files collected in VS. If you double click on the file in the PerfView GUI then the application extracts the contents of the diagsession, but the children items (should show an etl file) don't appear.
This is what it looks like after double clicking the diagsession:

There's a workaround for this. If you open the file by entering the full path in the search bar and hitting enter, then you are able to open the file and expand it as normal by double clicking.
This is what it looks like after the workaround:

The diagsession opening code hasn't been changed in years so there is likely another issue that was recently introduced to cause this.
Here's a diagsession that can be tested with
Report20230224-2305.zip
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue in the PerfView GUI using the attached Report20230224-2305.zip, comparing a double-click open with entering the full path in the search bar. Search the repository for the .diagsession opening path and trace the difference between these entry points. Done means double-clicking extracts the file and displays the child ETL item normally.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- desktop-dev, devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100