Debugging

JPOs can be debugged using an external IDE.

As stated earlier, you must set the .ini variable MX_JAVA_DEBUG to "true", and then run the MQL console and force compile the JPOs to be debugged. You can then attach to the JVM, started on behalf of the MQL console, on port 11111 from any number of IDEs (such as NetBeans or Eclipse).

To debug in an application server environment, you must determine the technique specific to each type of application server on how to setup the JVM for debugging. The you must run in the RIP mode version of ENOVIA Live Collaboration Server so that the JPOs run in the same JVM as the application server. This makes it easier to debug your Java business logic that might be spread across JSPs, Beans, and JPOs, since only 1 JVM is running.