CPU usage, graphs, and the diagnostic toolbar aren't working in visual studio 2022. How can I fix it?

Steven Swab 20 Reputation points
2023-10-20T16:14:39.46+00:00

I’m trying to use the diagnostic tools within Visual Studio 2022 (both enterprise and professional editions). The CPU Usage and Summary tabs don’t provide any information. There is no toolbar at the top of the window from which to select different types of data to record. The graphs also do not show up. I do receive events and I can take snapshots of memory. How can I get the diagnostic tools working properly on my machine? Here's what it looks like:

User's image

I've run multiple projects, uninstalled and reinstalled visual studio.

VSStandardCollectorService150 is running.

Any help would be much appreciated.

Developer technologies | Visual Studio | Debugging
Developer technologies | Visual Studio | Other
Developer technologies | Visual Studio | Other
A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.
{count} votes

Answer accepted by question author
  1. Tianyu Sun-MSFT 34,686 Reputation points Microsoft External Staff
    2023-10-24T09:46:48.03+00:00

    Hi @Steven Swab ,

    Thanks for your reply.

    Please try following methods and let us know if it works:

    1. Open Settings(Windows) > App > App & features > search for webview2 > find Microsoft Edge WebView2 Runtime > click Modify > click Repair. If Microsoft Edge WebView2 Runtime wasn’t installed, please go to https://go.microsoft.com/fwlink/p/?LinkId=2124703, download and run the installer.
    2. Run VS as administrator.
    3. Make sure no limits on your machine such as group policy, permission limitation, antivirus.
    4. Try to update Windows OS.
    5. Run CMD as administrator and run DISM.exe /Online /Cleanup-image /Restorehealth command, after it finishes, run sfc /scannow command.

    Best Regards,

    Tianyu


    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.

    2 people found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

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