[flexcoders] PAIN - Debugging ColdFusion CFC Flex service call
Yesterday I was debugging a situation where a Flex service call to a ColdFusion CFC wasnt 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 CFCs? 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 Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] PAIN - Debugging ColdFusion CFC Flex service call
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: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Erich CervantezSent: Tuesday, June 27, 2006 11:43 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] PAIN - Debugging ColdFusion CFC Flex service call Yesterday I was debugging a situation where a Flex service call to a ColdFusion CFC wasnt 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 CFCs? 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 Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___ -- 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
Re: [flexcoders] PAIN - Debugging ColdFusion CFC Flex service call
Hi Erich. For Flex 1.5 use the Flash Trace Viewer: http://www.alexisisaac.net/flash/articles/flash-7-trace-viewer.html It was my best friend for monitoring traffic to and from Flex and CFCs. For Flex 2, as well as 1.5..there's my new best friend: ServiceCapture: http://kevinlangdon.com/serviceCapture/ Shannon Hicks wrote: 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: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Erich Cervantez Sent: Tuesday, June 27, 2006 11:43 AM To: flexcoders@yahoogroups.com 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 -- 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 __._,_.___ -- 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 Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] PAIN - Debugging ColdFusion CFC Flex service call
He mentioned that he was already running ServiceCapture... the problem was an error in his CF code before the query fired was returned. For that, SeeFusion (or starting CF from the command line) does the trick :) Shan From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tariq AhmedSent: Tuesday, June 27, 2006 8:03 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] PAIN - Debugging ColdFusion CFC Flex service call Hi Erich.For Flex 1.5 use the Flash Trace Viewer:http://www.alexisisaac.net/flash/articles/flash-7-trace-viewer.htmlIt was my best friend for monitoring traffic to and from Flex and CFCs.For Flex 2, as well as 1.5..there's my new best friend: ServiceCapture:http://kevinlangdon.com/serviceCapture/Shannon Hicks wrote: 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: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Erich CervantezSent: Tuesday, June 27, 2006 11:43 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] PAIN - Debugging ColdFusion CFC Flex service call Yesterday I was debugging a situation where a Flex service call to a ColdFusion CFC wasnt 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 CFCs? 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 --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 --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 Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___ -- 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