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

 

__._,_.___

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