The CPU option is blank in the diagnostic tool during project debugging and running in VS2022

志斌 江 0 Reputation points
2026-07-01T08:46:53.5033333+00:00

The CPU option is blank in the diagnostic tool during project debugging and running in VS2022. The three abstract event counters are also empty

Developer technologies | Visual Studio | Debugging
0 comments No comments

1 answer

Sort by: Most helpful
  1. Lizzy Dinh (WICLOUD CORPORATION) 620 Reputation points Microsoft External Staff Moderator
    2026-07-01T10:27:25.2233333+00:00

    Hi @志斌 江 ,

    Thank you for reaching out to us.

    Regarding the issue you're experiencing, please try the following troubleshooting steps:

    1. Check the Visual Studio Standard Collector Service

    • Press Windows + R, type services.msc, and press Enter.
    • Locate Visual Studio Standard Collector Service.
    • Ensure the Startup Type is set to Automatic.
    • If the service is stopped, start it.
    • Restart Visual Studio and check whether the issue is resolved.

    2. Verify that .NET Profiling Tools Are Installed

    Please make sure that .NET Profiling Tools are installed as part of your Visual Studio installation. If they are not installed, please add the component, restart Visual Studio, and test again.

    3. Check Microsoft Edge WebView2 Runtime

    • Open Settings > Apps > Installed Apps.
    • Locate Microsoft Edge WebView2 Runtime.
    • Select Modify > Repair.
    • Restart Windows and test the issue again.

    If Microsoft Edge WebView2 Runtime is not installed, please reinstall it before retesting.

    4. Verify Diagnostic Tools Settings

    • While debugging in Visual Studio, navigate to Debug > Windows > Show Diagnostic Tools.
    • Select the Settings (gear) icon.
    • Ensure that the following options are enabled:
      • CPU Usage
      • Memory Usage
      • .NET Counters

    5. Repair or Update Visual Studio

    If the issue persists after completing the steps above, please try repairing your Visual Studio installation or updating it to the latest available version.

    If the problem continues to block your work, we recommend using the Report a Problem feature within Visual Studio to submit the issue directly to the product team. Any error messages, screenshots, or additional details you can provide will be valuable for further investigation.

    I hope these steps help resolve the issue. If you have any questions or need further assistance, please don't hesitate to let me know, I'll be happy to help. If you found my support helpful, I would greatly appreciate your feedback follow this instruction. Your input helps me continue to improve the support experience.

    Thank you and have a wonderful day!

    Was this answer helpful?

    0 comments No comments

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.