94
Chapter 5: The NetConnection Debugger
ColdFusion event messages
If you enable debugging output in ColdFusion, the NetConnection Debugger can report a subset
of the debugging information that is normally displayed by the ColdFusion server. The
NetConnection Debugger can report the following ColdFusion debugging information:
•
Template type (for CFM pages only, not CFCs)
•
Execution time
•
SQL query
•
cftrace
tag output
•
Exceptions (for exceptions caught in ColdFusion only)
•
HTTP (for
cfhttp
tag)
Note:
If debugging is enabled but no debugging information is available, the NetConnection
Debugger displays an information event that reports that ColdFusion debugging is not enabled on
the server. For example, if an error occurs when running a CFML service function, the NetConnection
Debugger displays this information event.
For more information on ColdFusion debugging information, see
Developing ColdFusion MX
Applications with CFML
.
Flash Communication Server events
If you enable Flash Communication Server (flashcom_server) debugging events, the
NetConnection Debugger displays an event message when the Flash Communication Server
application calls a
trace
function. The message includes the
trace
call parameter and the Flash
Communication Server logging API Info object for the event.
Using the NetConnection Debugger in ActionScript
Flash Remoting provides several objects and methods that let you control the information that
appears in the NetConnection Debugger. These tools include the following:
•
The
NetDebug.initialize()
method, to initialize debug support for Flash Remoting.
•
The
NetDebug.trace()
method, to display trace messages in the debugger
•
Connection object methods, to provide debugging information for specific connections
•
The NetDebugConfig object, to select the information that the debugger displays