I'm using visual studio community 2022 V 17.8.5 .net framework 4.8
I did in the menu: Debug > Performance Profiler... then select checked the CPU Usage and then clicked the start button.
the application is running and i can play and do stuff with the application but i can't see anywhere the profiler window.
then after starting the profiler i started the application by clicking the start button with the green arrow and then i see this on screen but it's never ending even if i stop the application from running and i still don't see the profiler window.

then i clicked Cancel and i see this message from the Diagnostics Hub:
'Images Scrolling' failed to launch
Exception of type 'Microsoft.DiagnosticsHub.Diagnostics.CollectionStartFailedHubException' was thrown. Failed to enable provider {E13C0D23-CCBC-4E12-931B-D9CC2EEE27E4}: Insufficient system resources exist to complete the requested service. 'Images Scrolling' failed to launch
Invalid operation detected by 'StandardClientTransportConnection.SendCustomMessageAsync'.
this is the profiler settings before starting it:

For me, the issue disappeared after I restarted Visual Studio as an Administrator
Visual Studio Community 2022 17.11.5
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With