Debugging a Java user-defined routine
To debug J/Foundation or any Java UDR, you can enable debugging on the server by setting the
following parameter in your Informix $ONCONFIG file, then restart your
server.
JVPARGS -agentlib:jdwp=transport=dt_socket,server=y,address=<PORT NUMBER HERE>,suspend=y
Once the JVP comes up, you can connect using jdb or any graphical debugging tool to the port you specify in the address in the JVPARGS above. J/Foundation does not ship with debugging source code for the internal components of the system. However, you can attach source for your custom UDR's to assist with debugging your extensions.