Infor Lawson Debug Server (ladebug)

The Infor Lawson Debug Server (ladebug) controls the debugging of Infor Lawson COBOL programs in conjunction with the Micro Focus Server Express debugger. With ladebug and Micro Focus Server Express debugger, you can debug programs in conjunction with a browser-based interface, such as the Lawson Portal.

If you start the Micro Focus Server Express debugger, any application programs in debug mode register with the Infor Lawson Debug Server. Then, if the ENABLEDBG parameter in ladebug.cfg is set to TRUE and if ladebug is running, Infor Lawson client programs will check with the Infor Lawson Debug Server to see if the application program is being debugged.

The log file for the Infor Lawson Debug Server is ladebug.log. It is located at $LAWDIR/system/ladebug.log.

Because of performance considerations, do not run ladebug in a production environment.

See the documentation for the Micro Focus Server Express debugger in the Doc for Developers: Application Development Workbench for more information on debugging procedures.

ladebug.cfg Parameter Reference

Location: $LAWDIR/system/ladebug.cfg

Parameter Description
DEBUG When DEBUG is set to TRUE, debug messages will be printed to the ladebug.log file. Do not set this to TRUE unless told to do so by Infor Lawson support.
ENABLEDBG Set to TRUE to enable debugging for a Infor Lawson Environment. If the ENABLEDBG parameter in ladebug.cfg is set to TRUE and if ladebug is running, Infor Lawson client programs will check with the Infor Lawson Debug Server to see if the application program is being debugged. Because this setting incurs some overhead, the ENABLEDBG parameter should always be set to FALSE in a production Infor Lawson Environment.
IPADDRESS To ease the setup of debugging, set this to ANY in order to specify Static IP address assignment for the debug server.
PORT The port number that ladebug will use to communicate with the debugger. This port number must be unique for each Environment. If you have FINDPORT set to TRUE, this parameter displays the port ladebug is using. If you do not have FINDPORT set to TRUE, this parameter displays the port number as set by the system administrator.
FINDPORT Set this to TRUE (the default setting) to allow ladebug to find a free port number to use to communicate with the debugger. Do not set this to TRUE if you want your system administrator to assign a port number (via the PORT parameter).