Debugging in a Java IDE

You can use a Java IDE to debug your Java CFX tags. This means you can develop your Java CFX tag and debug it in a single environment.

To use a Java IDE to debug your CFX tag:

  1. Start your IDE.
  2. In the project properties (or your IDE's project setting), make sure your CFX class is in the web_root\WEB-INF\classes directory or in the system classpath.
  3. Make sure the libraries cf_root/wwwroot/WEB-INF/lib/cfx.jar (cf_webapp_root/WEB-INF/lib/cfx.jar in the J2EE configuration) and cf_root/runtime/lib/jrun.jar (server configuration only) are included in your classpath.
  4. In your project settings, set your main class to jrunx.kernel.JRun and application parameters to -start default.
  5. Debug your application by setting breakpoints, single stepping, displaying variables, or by performing other debugging actions.

View comments in LiveDocs