Cannot Attach to Windows Service

Every time I start the profiler, it tries to restart the .Net service and while doing that it times out. Is there a way to increase the wait time for ANTS profiler for service restart?

Comments

  • Brian DonahueBrian Donahue Posts: 6,590 Bronze 1
    Hello,

    Unfortunately not. This will probably be made configurable in the future due to the fact that code takes longer while being profiled. For now, the timeout is hard-coded at 60 seconds.

    In the meantime, you can work around this by separating the service code and profiling the application as a normal Windows application.
Sign In or Register to comment.