Visual Studio 2022 Diagnostic tool does not display content properly when debugging

永达 文 1 Reputation point
2022-12-28T11:07:52.167+00:00

During debugging, nothing is displayed in the diagnostic tool window274546-%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87-20221228160256.png

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.
1,012 questions
0 comments No comments
{count} votes

4 answers

Sort by: Most helpful
  1. Michael W. Powell 16 Reputation points
    2024-11-07T04:41:55.63+00:00

    I have run into the same issue, diags not working not showing anything. I have tried restarting the service, does not start. Tried repairing VS, to no avail. Still diags are not working.

    1 person found this answer helpful.

  2. Anna Xiu-MSFT 30,386 Reputation points Microsoft Vendor
    2022-12-29T03:36:25.503+00:00

    Hi @永达 文 ,

    Welcome to Microsoft Q&A!

    What is your project type? If you create a new project, does the Diagnostic Tools window appears normally?

    Please try to update your Visual Studio to the latest version and reinstall the “.NET profiling tools” in Visual Studio Installer > Modify > Individual components.

    Sincerely,
    Anna
    *
    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  3. 永达 文 1 Reputation point
    2023-01-14T06:25:17.41+00:00

    I tried to reinstall WebView2, but the problem remained the same

    0 comments No comments

  4. OK 0 Reputation points
    2023-03-10T12:40:19.3+00:00

    You need to enable the service (under the Services tool setting it to automatic and restarting VS):

    VSStandardCollectorService150

    Visual Studio Standard Collector Service 150

    Visual Studio Data Collection Service. When running, this service collects real-time ETW events and processes them.

    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.