Skip to main content

Interactive Debug with an NT Service App


Technote (troubleshooting)


Problem(Abstract)

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.

Rate this page:

(0 users)Average rating

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

VisualAge Smalltalk

Server Workbench


Software version:
4.5, 5.0, 5.5


Operating system(s):
Windows 2000, Windows NT


Reference #:
1000624


Modified date:
2007-12-21

Translate my page

Content navigation