You could always use SeeFusion (www.seefusion.com)
 
The debugger output can show all requests, or requests from a specified IP address... not only would it show you the query and tell you the number of results (provided there was no error), but it would have shown you the error that happened before your query.
 
Try the free version... 2 hour limit before you have to restart CF to get another two hours.
 
Shan


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Erich Cervantez
Sent: Tuesday, June 27, 2006 11:43 AM
To: [email protected]
Subject: [flexcoders] PAIN - Debugging ColdFusion CFC & Flex service call

Yesterday I was debugging a situation where a Flex service call to a ColdFusion CFC wasn’t returning any records.  Using netConnection Debugger and ServiceCapture yielded the same information.  The particular query in question (within the CFC) being returned was “undefined”.  In actuality, there was a bug several lines before the query that was faulting, thereby causing the query to never get executed and thus causing the variable (recordset) from said query to never get defined.

Basically my problem was Flex never returned the proper error.  I had to hunt through the CFC, dropping in random CFDUMPS or CFFILE statement (to dump variables to a log file) to try to find out what the problem was.  I actually had to use a CF application written to invoke the CFC to see what the ColdFusion debugging output looked like.

I am using Flex 1.5 at the moment.  Has anyone found better ways to debug using Flex 1.5, and ColdFusion 7.0.1 CFC’s?

Erich Cervantez

Las Vegas, NV


--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.9.5/376 - Release Date: 6/26/2006

__._,_.___

--
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




__,_._,___

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.9.5/376 - Release Date: 6/26/2006

Reply via email to