<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.1.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: An oldschool way to debug AJAX</title>
	<link>http://www.rtraction.com/blog/devit/an-oldschool-way-to-debug-ajax.html</link>
	<description>rtraction blog</description>
	<pubDate>Sun, 06 Jul 2008 00:40:57 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.1.2</generator>

	<item>
		<title>By: Jeremy</title>
		<link>http://www.rtraction.com/blog/devit/an-oldschool-way-to-debug-ajax.html#comment-2700</link>
		<author>Jeremy</author>
		<pubDate>Fri, 23 Nov 2007 15:00:03 +0000</pubDate>
		<guid>http://www.rtraction.com/blog/devit/an-oldschool-way-to-debug-ajax.html#comment-2700</guid>
					<description>I ran into this specific problem the other day in Coldfusion.  What I needed to be able to do is use a CFDUMP to find out what was in a query.  Obviously like you mentioned you can't just dump an AJAX call.  So I decided to follow your advice and write it to a file.  What I ran into though is I didn't know how to capture the output of a CFDUMP.

Did a quick search - CFSAVEOUTPUT was the answer.  CFSAVEOUTPUT will save the output of whatever content you put between the start and end tags to a variable, which you specify as an attribute.  Then I could just use CFFILE to output that variable to a file.

Finally a way to debug AJAX in Coldfusion.</description>
		<content:encoded><![CDATA[<p>I ran into this specific problem the other day in Coldfusion.  What I needed to be able to do is use a CFDUMP to find out what was in a query.  Obviously like you mentioned you can&#8217;t just dump an AJAX call.  So I decided to follow your advice and write it to a file.  What I ran into though is I didn&#8217;t know how to capture the output of a CFDUMP.</p>
<p>Did a quick search - CFSAVEOUTPUT was the answer.  CFSAVEOUTPUT will save the output of whatever content you put between the start and end tags to a variable, which you specify as an attribute.  Then I could just use CFFILE to output that variable to a file.</p>
<p>Finally a way to debug AJAX in Coldfusion.</p>
]]></content:encoded>
				</item>
</channel>
</rss>
