<?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: Debugging JavaScript on Safari</title>
	<atom:link href="http://www.andrewsellick.com/47/debugging-javascript-on-safari/feed" rel="self" type="application/rss+xml" />
	<link>http://www.andrewsellick.com/47/debugging-javascript-on-safari</link>
	<description>andrewsellick.com</description>
	<lastBuildDate>Wed, 08 Sep 2010 21:38:25 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: max case</title>
		<link>http://www.andrewsellick.com/47/debugging-javascript-on-safari/comment-page-1#comment-2401</link>
		<dc:creator>max case</dc:creator>
		<pubDate>Thu, 19 Jul 2007 19:01:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.andrewsellick.com/47/debugging-javascript-on-safari#comment-2401</guid>
		<description>just sharing something i ran into the other day: i was working on some js, and when i went to test in safari, it kept crashing the browser, buy I could see from looking at my db that the ajax calls were firing.

It turns out that Safari&#039;s Javascript Console catchs the console.log calls you&#039;d use in firebug. 

Which is nice. However, in firebug, i will pass in anything to console.log to inspect it. 

Safari on the other hand was choking on passing in an event, or an object to the console.log, and that was causing the crashes. 

So first tip to debugging a problem in safari: comment out all calls to console.log, or keep them very simple. Not sure what happens with firebug lite installsed if safari&#039;s console will keep catching it as well.</description>
		<content:encoded><![CDATA[<p>just sharing something i ran into the other day: i was working on some js, and when i went to test in safari, it kept crashing the browser, buy I could see from looking at my db that the ajax calls were firing.</p>
<p>It turns out that Safari&#8217;s Javascript Console catchs the console.log calls you&#8217;d use in firebug. </p>
<p>Which is nice. However, in firebug, i will pass in anything to console.log to inspect it. </p>
<p>Safari on the other hand was choking on passing in an event, or an object to the console.log, and that was causing the crashes. </p>
<p>So first tip to debugging a problem in safari: comment out all calls to console.log, or keep them very simple. Not sure what happens with firebug lite installsed if safari&#8217;s console will keep catching it as well.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.383 seconds -->
