A core feature of Visual Studio that allows developers to inspect, analyze, and troubleshoot code during execution.
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!