Right, they’re new to Flex 2 so they won’t be there in Flex 1.5.

 

For Flex 1.5, have you tried using debug level logging on the server by changing the /WEB-INF/flex/gateway-config.xml file to use Debug level logging and then watched the console or the standard out/err logs from your app server?

 

If you can’t work it out, can you send me a zip (with the file extension renamed to .zp) directly?

 

Pete

 


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Duncan McMillan
Sent: Thursday, June 29, 2006 10:46 AM
To: flexcoders@yahoogroups.com; Duncan McMillan
Subject: Re: [flexcoders] Net.Connection debugger - Is there something like it in Flex2?

 

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]ups.com [mailto:[EMAIL PROTECTED]ups.com]
> *On Behalf Of *Phil Marston
> *Sent:* Tuesday, June 06, 2006 9:52 AM
> *To:* [EMAIL PROTECTED]ups.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?
>
> Cheers,
>
> Phil
>
> --
> __________________________________________________________
> Phil Marston
> Learning Technologist
> Learning Technology Unit
> Edward Wright G33, University of Aberdeen, Aberdeen, AB24 3QY, UK
> [EMAIL PROTECTED]ac.uk <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]ac.uk <mailto:openday%40abdn.ac.uk>
> or call 0800 027 1495
>
>

__._,_.___

--
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
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to