Profiling Windows Service
cgruenzner
Posts: 10
Hi,
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.
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.
Best regards,
Carsten Grünzner
Carsten Grünzner
This discussion has been closed.
Comments
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.