When an application is invoked by a Toolbox program, it runs in the Toolbox job subsystem. To enable the debugger to gain control of the program, you can set a service entry point in it before it is called. When the program runs, the service entry point is hit and the debugger can gain control of the application.