github / VisualStudio

GitHub Extension for Visual Studio
https://visualstudio.github.com
MIT License
2.37k stars 1.21k forks source link

vs2022 community,Diagnostic tools are not working #2690

Open RRQM opened 2 years ago

RRQM commented 2 years ago

image

I randomly created the simplest C# program and ran it in vs2022. I found that the diagnostic tool was blank. I have tried restarting the software, restarting the computer, and even uninstalling vs and then reinstalling, but nothing has solved the problem.

okarpov commented 1 year ago

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.

RageAShadey commented 1 year ago

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.

What do you mean? I have been trying to find this information for the longest and I can't locate the "Service" or "Services tool" Running visual studio 22 right now and have this issue.

okarpov commented 1 year ago

Do you know what is Windows Service? If yes then do you know there is an asset where you can find all Windows Services? If yes then open it and find the VS service and enable auto-start and start it.

RageAShadey commented 1 year ago

Do you know what is Windows Service? If yes then do you know there is an asset where you can find all Windows Services? If yes then open it and find the VS service and enable auto-start and start it.

I found it. It's in windows services. I was thinking Visual studio services v.v I set it to automatic, restarted Visual studio and it's still not working although I could only find Visual Studio Standard Collector Service 150. When i start the debugging it's running but still gives me blank information like the image.

okarpov commented 1 year ago

i guess you need all of them. so try to find all of them or re-peair VS to restore all services

RageAShadey commented 1 year ago

https://www.reddit.com/r/VisualStudio/comments/12rh5yc/visual_studio_22_176_preview_40_empty_diagnostic/ I made a post here cause I still couldn't get it to work or find the other services. >~<

HarryHang commented 1 year ago

I have the same problem as yours, is your problem sovled?

RageAShadey commented 1 year ago

Nothing. I couldn't figure it out for some reason and it's still happening even now.