Hi Pete

I'm using Flex 1.5 and it seems that mx.utils.ObjectUtil and the
TraceTarget facilities are not available.

I'm trying to debug an RPC using RemoteObject and getting nowhere as I
cannot seem to use the NetConnectionDebugger either. The network monitor
sees the RPC call but the busy cursor just remains for ever.

Any further ideas?

Thanks

Duncan


Peter Farland wrote On 06/06/06 15:42,:
> 
> 
> 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:* [email protected] [mailto:[EMAIL PROTECTED]
> *On Behalf Of *Phil Marston
> *Sent:* Tuesday, June 06, 2006 9:52 AM
> *To:* [email protected]
> *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?
> 
> Cheers,
> 
> Phil
> 
> -- 
> __________________________________________________________
> Phil Marston
> Learning Technologist
> Learning Technology Unit
> Edward Wright G33, University of Aberdeen, Aberdeen, AB24 3QY, UK
> [EMAIL PROTECTED] <mailto:p.marston%40abdn.ac.uk> Tel: +44(0)1224
> 273329 / +44(0)7798 723660
> http://www.abdn.ac.uk/diss/ltu/pmarston/
> <http://www.abdn.ac.uk/diss/ltu/pmarston/>
> http://www.abdn.ac.uk/diss/ltu/ <http://www.abdn.ac.uk/diss/ltu/>
> __________________________________________________________
> 
> The University of Aberdeen Open Day 29th August 2006
> Booking is essential
> www.abdn.ac.uk/openday
> email [EMAIL PROTECTED] <mailto:openday%40abdn.ac.uk>
> or call 0800 027 1495
> 
> 



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to