IBM Support

Interactive Debug with an NT Service App

Technote (troubleshooting)


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.

Document information

More support for: VisualAge Smalltalk
Server Workbench

Software version: 4.5, 5.0, 5.5

Operating system(s): Windows

Reference #: 1000624

Modified date: 21 December 2007

Translate this page: