Skip to main content

Problem:

When using Net Express 5.1 to do a remote debugging session to a server computer running a COBOL application under IBM TX Series, the debugger does not attach to the animserv process.

Setup as follows:

On remote computer:
1. COBOL program has been compiled with $SET INITCALL"CBL_DEBUGBREAK"
2. start animserv port(51000)

On local computer:
1. Net Express Animate settings set to debug remotely, name of server and port number 51000 specified.
2. Net Express Animate settings set to wait for animatable attachment. 3. Start Net Express Animate at and leave field blank so it attaches to animserv on remote computer.

On remote computer:
1. Run the COBOL application under TX Series.

When the program compiled with INITCALL"CBL_DEBUGBREAK" directive is encountered the message about "do you wish to debug?" appears on the server and the animserv process is being ignored.

Why?

Resolution:

This is because TX Series is being run as a Windows service which is being run under a named user account. If the login for the TX Series service is changed to be the Local System account then the debugging will work correctly.

This has been fixed in Net Express wrappack 8 Hotfix 3 to allow the remote debugging process to work even when the TX Series is running under a named user account.