NetConnection Debugger
The NetConnection Debugger panel is a Flash movie itself. It is implemented as a Flash panel extension to Flash MX and is installed when you install the Flash Remoting components. The NetConnection debugger reports all connections, input, and output from the Flash movie to the server. Any arguments sent to the movie are exposed in the panel, and any response from the server is shown as well. This includes all error messages from the server.
The NetConnection debugger is available only during authoring time. Errors that occur in the application after the movie has been compiled and deployed will not be reported. It is up to you as the author of the Flash application to address the errors during authoring time so that the end user experience is without error.
The NetConnection Debugger panel must be opened from the Window menu
in Flash before testing the movie for it to become active. To invoke
it, open the NetConnection Debugger panel and choose Control
→ Test Movie. The Control → Debug Movie option
invokes the Flash interactive debugger, not the NetConnection
debugger, although the latter will also be active if it was
previously open. Be sure to include the line #include
"NetDebug.as
" in your code if you’ve
previously omitted it.
Parts of the Debugger
The NetConnection debugger, shown in Figure 13-4, consists of three panels in the main section of the debugger and two smaller panels below. The three main panels are:
- Events
Shows the client/server event that occurs, ...
Get Flash Remoting: The Definitive Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.