Approaches to debugging Java CFX tags
Java CFX tags are not stand-alone applications that run in their own process, like typical Java applications. Rather, they are created and invoked from an existing process. This makes debugging Java CFX tags more difficult, because you cannot use an interactive debugger to debug Java classes that have been loaded by another process.
To overcome this limitation, you can use one of the following techniques:
-
Debug the CFX tag while it is running within ColdFusion MX by outputting the debug information as needed.
-
Debug the CFX tag using a Java IDE (Integrated Development Environment) that supports debugging features, such as setting breakpoints, stepping through your code, and displaying variable values.
-
Debug the request in an interactive debugger offline from ColdFusion MX using the special com.allaire.cfx debugging classes.
This section describes the following topics:
View comments in LiveDocs