Profiling Windows services using Performance or Coverage Analysis

0 Likes

Problem:

How to profile Windows Services using Performance or Coverage Analysis ?

Resolution:

First make sure the service is allowed to interact with the desktop.

Then for service written in unmanaged code:

- Configure Performance or Coverage via their settings

- instrument it with Performance or Coverage.

- Start the service.

service written in managed code:

- Create the service

- Install it using installutil.exe

- Configure Performance or Coverage via their settings. Make sure that "Collect information in dlls surrogate processes..." is checked

- Start your service

Old KB# 11229
Comment List
Anonymous
Related Discussions
Recommended