how to profile a service starting up

I need to profile the startup of my windows service (it's taking a real long time to start).

When i click "Profile windows service", it tries to start the windows service for profiling. However, it times out with "Couldnt restart the service(timeout)". How do I run a profile on my service starting up, for a long startup time? Why does Ants server startup timeout so quickly (15 or so seconds)?

Thanks.

Comments

Sign In or Register to comment.