Want to open .diagsession file with another application

Jobin James 1 Reputation point
2020-09-21T08:57:31.61+00:00

I want to automate memory leak testing. For this I want to open the .diagsession file with another application(python script), outside of visual studio. Or export the output of VSDiagnostics.exe in the form a csv file. Please let me know if there is a way to do this?

Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
999 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Dylan Zhu-MSFT 6,416 Reputation points
    2020-09-22T06:36:56.897+00:00

    Hi JobinJames,

    Thanks for taking time to share your thoughts with us.

    The diagsession file is a .ZIP archive that contains multiple .ETL files and .XML metadata files. So I'm afraid that you could not open it with python script or transfer it to csv file.

    Maybe you could try to change "diagsession" to "zip", then unzip it to analysis etl and xml files directly.

    Best Regards,
    Dylan

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.