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:
-
Start your IDE.
-
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.
-
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.
-
In your project settings, set your main class to jrunx.kernel.JRun and application parameters to
-start
default
.
-
Debug your application by setting breakpoints, single stepping, displaying variables, or by performing other debugging actions.
View comments in LiveDocs