Debugging and Monitoring Applications > Using the NetConnection Debugger

 

Using the NetConnection Debugger

The NetConnection Debugger provides Flash MX developers with a tool to report and diagnose processing and communication problems between the Flash client, Flash Communication Server, Flash Remoting, and supported application servers.

 
To use the NetConnection Debugger to trace Flash Communication Server events:

1

Add the statement #include "NetDebug.as" to a layer on the first keyframe of your movie.

Note: To avoid unnecessary code in your movie and disable remote debugging, delete this line when you finish debugging and are ready to deploy your application.

2

Choose Window > NetConnection Debugger from within Flash MX to open the debugger.

3

Click Filters to display the Filters UI (discussed in more detail later in this document).

4

Enter the user name and password of the admin user of the server your application is connecting to. Also, if your server is installed on a port other than 1111 (the default), you must enter the port number.

Note: If you are using the NetConnection Debugger to track non-Flash Communication Server applications, such as a Flash Remoting implementation, you don't need to perform this step.

5

(Optional) Close the Filters UI to make room for more events to be displayed.

6

Test your movie using Control > Test Movie in the Flash authoring environment or opening the SWF file in a browser.

If you close and then reopen the NetConnection Debugger, you must repeat steps 3 and 4.