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

Add comments

Document information


More support for:

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

Machine Translation

Content navigation