Why is the memory profiler not starting after it starts my background service exe?

I am developing a background service in .NET 6. The service runs just fine and does its thing. I wanted to profile a timer callback in use to see if it was leaking memory. When I run the profiler, I use the Windows Service option and it just says starting application and never profiles. The service is running, I can see it in the services window, and I can see the logs it generates in the event viewer. Any way to fix the profiler?
Sign In or Register to comment.