Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use visual studio performance profiler ? after clicking start the application is running but not the profiler

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.

can'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:

profiler settings

like image 599
Daniel Lip Avatar asked Nov 15 '25 07:11

Daniel Lip


1 Answers

For me, the issue disappeared after I restarted Visual Studio as an Administrator

Visual Studio Community 2022 17.11.5

like image 77
valchetski Avatar answered Nov 17 '25 22:11

valchetski