Here are the steps:
1. Create a sample Windows Service.
2. Install it. For example via command line:
C:\>sc create MyWindowsService binpath= D:\Projects\MyWindowsService\MyWindowsService\bin\Debug\MyWindowsService.exe
| Administrative rights are required to install and profile Windows Services. In Windows 7 it may require "run as administrator". |
3. Run profiler. Run "Profile" -> Select "Windows Service"
4. Select your windows service from the drop down list "Service"
5. Click "Run" to start the service and start profiling.
Comments
Please leave your feedback in this thread
Labels:
None