Comments
2 comments
-
Hello,
If the executable that you want to profile is normally started through the services control panel, you can't profile it, unfortunately. You'd need to have a normal executable that is not a service to call your code and then profile that.
ANTS Profiler can't cope with services yet because it doesn't know how to start them. -
ANTS Profiler 2.5 will give you the ability to profile Windows Services. It can stop and start the service that you choose to profile and produce profiling information.
Add comment
Please sign in to leave a comment.
I wrote an C# Portmonitor which is loaded by the Windows Spooler Service (spoolss.exe). Is it possible to profile the portmonitor with ANTS 2? I can't find something like "Attach to process..." in the menu or the project settings. Starting spoolss.exe from the command line isn't possible.