<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Tips for debugging RJS code</title>
	<atom:link href="http://labnotes.org/2006/05/21/tips-for-debugging-rjs-code/feed/" rel="self" type="application/rss+xml" />
	<link>http://labnotes.org/2006/05/21/tips-for-debugging-rjs-code/</link>
	<description></description>
	<lastBuildDate>Tue, 15 May 2012 02:41:51 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: 16 RJS Resources and Tutorials for Rails Programmers &#171; Mystitech&#8217;s Weblog</title>
		<link>http://labnotes.org/2006/05/21/tips-for-debugging-rjs-code/comment-page-1/#comment-139770</link>
		<dc:creator>16 RJS Resources and Tutorials for Rails Programmers &#171; Mystitech&#8217;s Weblog</dc:creator>
		<pubDate>Sun, 03 Feb 2008 18:42:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.labnotes.org/2006/05/21/tips-for-debugging-rjs-code/#comment-139770</guid>
		<description>[...] Tips for debugging RJS code - A list of useful tips and considerations when debugging RJS code. [...]</description>
		<content:encoded><![CDATA[<p>[...] Tips for debugging RJS code &#8211; A list of useful tips and considerations when debugging RJS code. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon</title>
		<link>http://labnotes.org/2006/05/21/tips-for-debugging-rjs-code/comment-page-1/#comment-138801</link>
		<dc:creator>Jon</dc:creator>
		<pubDate>Tue, 06 Nov 2007 17:58:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.labnotes.org/2006/05/21/tips-for-debugging-rjs-code/#comment-138801</guid>
		<description>The View Source Chart is pretty slick.  Here&#039;s another tip.  It won&#039;t always work for debugging, but in a pinch, you can select a bit of text in the browser, right-click and select View Selection Source - you don&#039;t see the whole page, but what you do see is the in-memory DOM.</description>
		<content:encoded><![CDATA[<p>The View Source Chart is pretty slick.  Here&#8217;s another tip.  It won&#8217;t always work for debugging, but in a pinch, you can select a bit of text in the browser, right-click and select View Selection Source &#8211; you don&#8217;t see the whole page, but what you do see is the in-memory DOM.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Assaf</title>
		<link>http://labnotes.org/2006/05/21/tips-for-debugging-rjs-code/comment-page-1/#comment-47492</link>
		<dc:creator>Assaf</dc:creator>
		<pubDate>Mon, 11 Dec 2006 03:30:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.labnotes.org/2006/05/21/tips-for-debugging-rjs-code/#comment-47492</guid>
		<description>David,

The FireBug console will show every XHR request made from the browser, so you can look at the query string to make sure it&#039;s making the right request to the server, and the result to making sure it&#039;s sending the proper response.

When you do View Source in Firefox, Firefox shows only the original HTML page that it loaded, but not any changes made with JavaScript (or RJS). Instead I use View Source Chart, which shows the HTML code after JavaScript modifications.

Some bugs are changes that replace the wrong element, or don&#039;t change an element to be visible, etc, which you can only find by looking at the HTML source.

Also, if you know which element you&#039;re looking for, you can also do something like inspect($(&#039;sidebar&#039;)) in FireBug.</description>
		<content:encoded><![CDATA[<p>David,</p>
<p>The FireBug console will show every XHR request made from the browser, so you can look at the query string to make sure it&#8217;s making the right request to the server, and the result to making sure it&#8217;s sending the proper response.</p>
<p>When you do View Source in Firefox, Firefox shows only the original HTML page that it loaded, but not any changes made with JavaScript (or RJS). Instead I use View Source Chart, which shows the HTML code after JavaScript modifications.</p>
<p>Some bugs are changes that replace the wrong element, or don&#8217;t change an element to be visible, etc, which you can only find by looking at the HTML source.</p>
<p>Also, if you know which element you&#8217;re looking for, you can also do something like inspect($(&#8216;sidebar&#8217;)) in FireBug.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David W. Wormuth</title>
		<link>http://labnotes.org/2006/05/21/tips-for-debugging-rjs-code/comment-page-1/#comment-46461</link>
		<dc:creator>David W. Wormuth</dc:creator>
		<pubDate>Mon, 11 Dec 2006 00:37:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.labnotes.org/2006/05/21/tips-for-debugging-rjs-code/#comment-46461</guid>
		<description>Can you give a few more details how you actually use FireBug to trace Show XMLHttpRequests?

Your site was most helpful and thanks for the great tips on View Source Chart and FireBug</description>
		<content:encoded><![CDATA[<p>Can you give a few more details how you actually use FireBug to trace Show XMLHttpRequests?</p>
<p>Your site was most helpful and thanks for the great tips on View Source Chart and FireBug</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: my life &#187; RJS Template tutorials with Ruby on Rails</title>
		<link>http://labnotes.org/2006/05/21/tips-for-debugging-rjs-code/comment-page-1/#comment-8927</link>
		<dc:creator>my life &#187; RJS Template tutorials with Ruby on Rails</dc:creator>
		<pubDate>Wed, 23 Aug 2006 23:22:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.labnotes.org/2006/05/21/tips-for-debugging-rjs-code/#comment-8927</guid>
		<description>[...] Debugging RJS Code [...]</description>
		<content:encoded><![CDATA[<p>[...] Debugging RJS Code [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 16 RJS Resources and Tutorials for Rails Programmers</title>
		<link>http://labnotes.org/2006/05/21/tips-for-debugging-rjs-code/comment-page-1/#comment-3189</link>
		<dc:creator>16 RJS Resources and Tutorials for Rails Programmers</dc:creator>
		<pubDate>Fri, 26 May 2006 17:31:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.labnotes.org/2006/05/21/tips-for-debugging-rjs-code/#comment-3189</guid>
		<description>[...] Tips for debugging RJS code - A list of useful tips and considerations when debugging RJS code. [...]</description>
		<content:encoded><![CDATA[<p>[...] Tips for debugging RJS code &#8211; A list of useful tips and considerations when debugging RJS code. [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

