Debugging Applications By Monitoring Interactions With The Server - MACROMEDIA FLEX BUILDER-USING FLEX BUILDER Use Manual

Table of Contents

Advertisement

Debugging applications by monitoring interactions with the server

If your Flex application isn't working as expected, you can use the Network Monitor to look for
clues to the problem. When enabled, the Network Monitor monitors and records all data
transactions with the server and displays the information in the Results panel.
The Network Monitor records and displays the following information:
Events relating to the MXML service tags, including the
<mx:HTTPService>
Transport layer information, including SOAP envelopes and AMF/FlashRemoting packets
Interactions resulting from the use of the ActionScript XML object, such as XML.send() and
XML.sendAndLoad()
HTTP traffic
The Network Monitor displays data that comes from the server in its native ActionScript
equivalent.
In general, the Network Monitor captures and stores all event data until you either quit the
application or explicitly clear the data. The events are displayed in chronological order. You can
also selectively filter out specific events.
This section contains the following topics:
"Turning on the Network Monitor" on page 91
"Monitoring interactions with the server" on page 92
"Using trace statements with the Network Monitor" on page 93
"Saving event data" on page 94
Turning on the Network Monitor
The Network Monitor inserts itself between the application and the server to gain complete
access to the data passing between them. You must enable it before using it.
To enable the Network Monitor:
Make sure a Flex server is defined as the testing server.
1.
For more information, see
In the Network Monitor panel in the Results panel group (Window > Results), click the Play
2.
button on the sidebar and select Settings.
The Network Monitor Settings dialog box appears.
In the Network Monitor Settings dialog box, accept the default port values or specify the local
3.
communication ports that the Network Monitor should listen in on.
, and
<mx:RemoteObject>
"Starting a new application in Flex Builder" on page
<mx:WebService>
tags
Testing and debugging Flex files
,
9.
91

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLEX BUILDER-USING FLEX BUILDER and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flex builder

Table of Contents