From: Aaron S. <aa...@ru...> - 2007-10-23 00:33:44
|
NetDebug tracing from amfphp will only work with NetConnection and AMF0 On 10/22/07, Darren Smith <daz...@gm...> wrote: > > Hi Stefan, > > Hopefully someone more knowledgeable than me will chime in. Perhaps you > could contact Aral through his blog as I believe he knows a lot about > AMFPHP > as well as SWX. > > The only thing I would suggest is something you have probably already > tried > (Note: I couldn't get any useful info this way): > > public function result(event:Object):void > { > var re:ResultEvent = event as ResultEvent; > for (var prop:String in re.message.headers) > { > trace("Header " + prop + ": " + re.message.headers[prop]) > } > } > > Or, if using Mike Nimer's great debug component: > (http://www.mikenimer.com/index.cfm/2006/7/5/FlexDebugPanel) > > public function result(event:Object):void > { > var re:ResultEvent = event as ResultEvent; > Debug.show(re.message.headers); > } > > Cheers, > Darren. > > On 22/10/07 5:01 PM, "Stefan Klug" <Klu...@gm...> wrote: > > > Hi Darren, > > > > thanks for your reply. I've already tried Charles (ServiceCapture isn't > > available under linux). > > They are both great products, but I was just searching for some extra > > data channel which I could display in Flex for debugging puposes, > > without modifying the signature of the remote functions... > > So Charles and ServiceCapture are a bit too much. > > > > Cheers Stefan. > > > >> Hi Stefan, > >> > >> Not a direct answer to your question but if you're not already using > >> ServiceCapture or Charles, I would recommend trying one of the free > demos > >> out (I prefer ServiceCapture personally). To see exactly what is being > sent > >> both ways (headers, amf objects, etc.), I find it invaluable. > >> > >> Cheers, > >> Darren. > >> > >> On 21/10/07 5:25 PM, "Stefan Klug" <Klu...@gm...> wrote: > >> > >> > >>> Hi, > >>> > >>> I'm trying to access the header information sent by NetDebug::trace(), > >>> using flex 2 and RemoteObject to connect to amfphp. > >>> After hours of struggling I am now writing this eMail. > >>> > >>> I've tried to search through the objects returned by the result event > of > >>> the RemoteObject operation - no luck. Then I had a look at the sources > >>> of the amfphp servicebrowser (SVN Version 1.9 beta 2) as the > >>> servicebrowser correctly receives the trace messages. > >>> The servicebrowser.mxml and the servicebrowser.swf seem to differ in > SVN > >>> as the Trace TextBox has a "Not yet implemented..." in it. > >>> After crawling through the mailing list archives I've found the SWX > >>> Service Browser, which uses the magic RawAmfService to access the > trace > >>> messages. > >>> > >>> So there seems to be now way to send debugging messages using > >>> NetDebug::trace and RemoteObject. > >>> Is this correct? > >>> I would be happy if someone could shed some light on this. > >>> > >>> Thanks a lot. > >>> Stefan > >>> > >>> > >>> > >>> > >>> > >>> > ------------------------------------------------------------------------- > >>> This SF.net email is sponsored by: Splunk Inc. > >>> Still grepping through log files to find problems? Stop. > >>> Now Search log events and configuration files using AJAX and a > browser. > >>> Download your FREE copy of Splunk now >> http://get.splunk.com/ > >>> _______________________________________________ > >>> amfphp-general mailing list > >>> amf...@li... > >>> https://lists.sourceforge.net/lists/listinfo/amfphp-general > >>> > >> > >> > >> > >> > ------------------------------------------------------------------------- > >> This SF.net email is sponsored by: Splunk Inc. > >> Still grepping through log files to find problems? Stop. > >> Now Search log events and configuration files using AJAX and a browser. > >> Download your FREE copy of Splunk now >> http://get.splunk.com/ > >> _______________________________________________ > >> amfphp-general mailing list > >> amf...@li... > >> https://lists.sourceforge.net/lists/listinfo/amfphp-general > >> > > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > _______________________________________________ > > amfphp-general mailing list > > amf...@li... > > https://lists.sourceforge.net/lists/listinfo/amfphp-general > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > amfphp-general mailing list > amf...@li... > https://lists.sourceforge.net/lists/listinfo/amfphp-general > |