Home Screencasts Quick Start Case Studies API Download Order Blog*

Runtime Flow Runtime Flow

Monitoring a Windows service

1. Find your service registry entry in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services and add the multi-string value Environment with the following data:

Cor_Enable_Profiling=1
COR_PROFILER={C967CF3F-79BF-49a5-A10F-D5B269DB9E54}
CoreCLR_Enable_Profiling=1
CORECLR_PROFILER={C967CF3F-79BF-49a5-A10F-D5B269DB9E54}
Service registry

2. Create a .cmd file with a single space character inside of it and set it as a Command in the Runtime Flow Customized Run dialog, uncheck Stop monitoring when the program completes and Run monitoring:

Customized Run

3. Start your service from the Services snap-in:

Started service

4. See the service execution in Runtime Flow:

Service flow