You can invoke the EGL debugger from an EGL-generated Java program or wrapper so you can use the EGL debugger when you work on a partly deployed application. The program needs a call statement that you associate with a linkage options part, callLink element. Similarly, you must associate the wrapper with a callLink element. In either case, the element must specify property removeComType as DEBUG.
Different rules apply, depending on whether or not the program to be debugged runs in J2EE:
Before the call occurs, you must start a listener program that runs in Eclipse. A listener is started using an EGL Listener launch configuration that has only one configurable setting, a port number. The default port number is 8346.
To specify a different port number, do as follows:
You must specify a port if multiple EGL Listeners run at the same time, because each EGL Listener requires its own port. You also must specify a port if another application is using port 8346 or if a firewall prevents use of port 8346.
The listener port is not the same as the EGL debugger port, which is specified as an EGL preference.
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.