If you're using a raw NetConnection, then... no, not
natively from the client. There are third party tools out there that sniffing
AMF over HTTP traffic.
However, I'd first try using some of the utilities that
Flex has to dumping an object graph to a string:
import mx.utils.ObjectUtil;
...
trace(ObjectUtil.toString(result));
If you
were using FDS channels and messaging then you could take advantage of the
mx.logging framework by creating a trace target to dump the traffic out to the
flashlog.txt file. A simple way to do this is to add
<mx:TraceTarget level="0"
/>
to
your MXML to see everything that was logged... however if you want to filter
this information you'll need to read up on the ASDoc on logging targets and use
some script to customize the information being displayed.
FWIW,
NetConnection Debugger relied on some mix-ins in your app that intercepted trace
calls to an underlying NetConnection and then broadcast this information on a
local connection to the NCD... Flex 2 has moved beyond this architecture and now
uses a messaging framework and a logging API that decouples how a request is
made from the service being contacted. I would love to see people in the
community writing their own implementations of mx.messaging.Channel or perhaps a
simple mx.logging.ILoggingTarget that reported info back to the old
NCD!
Pete
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Phil Marston Sent: Tuesday, June 06, 2006 9:52 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Net.Connection debugger - Is there something like it in Flex2? or any other way of seeing what's being sent to AMFPHP and coming
back? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
YAHOO! GROUPS LINKS
|
- [flexcoders] Net.Connection debugger - Is there something... Phil Marston
- RE: [flexcoders] Net.Connection debugger - Is there ... Peter Farland
- Re: [flexcoders] Net.Connection debugger - Is th... Phil Marston
- Re: [flexcoders] Net.Connection debugger - Is th... Duncan McMillan
- [flexcoders] Re: Net.Connection debugger - I... stevenkeys2003
- Re: [flexcoders] Re: Net.Connection debu... John C. Bland II
- RE: [flexcoders] Net.Connection debugger - I... Peter Farland
- Re: [flexcoders] Net.Connection debugger... Duncan McMillan
- RE: [flexcoders] Net.Connection deb... Peter Farland