Interactive Debug with an NT Service App
Something to watch out for when using Interactive Debug with an NT Service app
Resolving the problem
The only tricky bit about using Interactive Debug with an NT Service app is that you need to get the service registered before the service startup times out. This means that the usual trick of putting a halt in the Application Entry Point field of the packager panel (i.e. MyServiceApp halt;
myRealStartupMethod) to initially open the debugger won't work. Insytead, you should implement an alternative startup method (myRealStartupMethodWithAHaltInIt) that does a self halt after registering the service.
Try this by packaging the AbtNtServiceExampleApp with Interactive Debug and running it. You should see the debugger.
Translate this page: