<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>BorkWeb &#187; debugging</title>
	<atom:link href="http://borkweb.com/story/tag/debugging/feed" rel="self" type="application/rss+xml" />
	<link>http://borkweb.com</link>
	<description>Some People Are Squirrel Handed.</description>
	<lastBuildDate>Tue, 17 Jan 2012 22:00:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>JavaScript Shell</title>
		<link>http://borkweb.com/story/javascript-shell</link>
		<comments>http://borkweb.com/story/javascript-shell#comments</comments>
		<pubDate>Fri, 03 Nov 2006 19:29:52 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[ajaxexperience]]></category>
		<category><![CDATA[bookmarklet]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[debugging]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[javascript shell]]></category>
		<category><![CDATA[scripting]]></category>
		<category><![CDATA[shell]]></category>

		<guid isPermaLink="false">http://borkweb.com/story/javascript-shell</guid>
		<description><![CDATA[While at The Ajax Experience I noticed a tool that a few of the speakers made use of that was missing from my arsenal. The tool? JavaScript Shell. This little beauty, once you&#8217;ve added the bookmark to your browser allows you to open a JavaScript Shell for any page you happen to be on! The [...]]]></description>
			<content:encoded><![CDATA[<p>While at <a href="http://borkweb.com/story/the-ajax-experience">The Ajax Experience</a> I noticed a tool that a few of the speakers made use of that was missing from <a href="http://borkweb.com/story/must-have-extensions-for-firefox">my arsenal</a>.  The tool?  <a href="http://www.squarefree.com/shell/">JavaScript Shell</a>.</p>
<p>This little beauty, once you&#8217;ve added the bookmark to your browser allows you to open a JavaScript Shell for any page you happen to be on!  The shell lets you enter JavaScript from command-line to manipulate the page, trigger functions, analyze properties, etc.  All libraries that the site has loaded are available within the Shell&#8230;so, if you use <a href="http://borkweb.com/story/the-ajax-experience-jquery-toolkit">jQuery</a> or some other toolkit, all defined functions and plugins are usable.</p>
<p>Here&#8217;s some features and pre-defined functions from the <a href="http://www.squarefree.com/shell/">JavaScript Shell site</a></p>
<blockquote>
<p><strong>Features</strong></p>
<ul>
<li>You can enter statements and expressions at the same prompt.</li>
<li>The result of each non-void statement or expression is shown.</li>
<li>User-defined variables.
<ul>
<li><strong>b = document.body</strong></li>
</ul>
</li>
<li>User-defined functions.
<ul>
<li><strong>function f() { return 5; }</strong></li>
</ul>
</li>
<li>JavaScript error messages are shown in red.</li>
<li>Previous statements and expressions are available through Up and Down arrow keys.</li>
<li>Tab completion.</li>
<li>Multiline input (Shift+Enter to insert a line break).</li>
<li>If the shell is opened using a bookmarklet, JavaScript typed into the shell runs in the context of the original window.</li>
<li>Works well in Firefox, mostly works in Opera 8 and in IE 6 for Windows.</li>
</ul>
<p><strong>Built-in functions</strong></p>
<ul>
<li><strong>ans</strong>: the result of the previous expression.</li>
<li><strong>print(expr)</strong>: prints expr on its own line.
<ul>
<li><strong>for(i = 0; i &lt; 6; ++i) <b>print(</b>i * i<b>)</b></strong></li>
</ul>
</li>
<li><strong>pr(expr)</strong>: prints and returns its input, so you can use it to print intermediate results in the middle of an expression.
<ul>
<li><strong>function fact(n) { return n&gt;0 ? <b>pr(</b>n*fact(n-1)<b>)</b> : 1 }</strong></li>
</ul>
</li>
<li><strong>blink(node)</strong> or <kbd>Alt+B</kbd>: makes a node blink for a second.
<ul>
<li><strong><b>blink(</b>document.links[3]<b>)</b></strong></li>
</ul>
</li>
<li><strong>props(obj)</strong> or <kbd>Alt+P</kbd>: lists the methods and fields of an object.
<ul>
<li><strong><b>props(</b>document.body<b>)</b></strong></li>
<li>In Firefox, <strong>props</strong> also shows which properties belong to the object itself and which belong to objects in its prototype chain.</li>
</ul>
</li>
</ul>
</blockquote>
<p>I&#8217;m a fan :D</p>
]]></content:encoded>
			<wfw:commentRss>http://borkweb.com/story/javascript-shell/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firebug 0.4 Released.  Can Web Development Be Any Sexier?</title>
		<link>http://borkweb.com/story/firbug-04-released-can-web-development-be-any-sexier</link>
		<comments>http://borkweb.com/story/firbug-04-released-can-web-development-be-any-sexier#comments</comments>
		<pubDate>Wed, 24 May 2006 11:53:07 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[debug]]></category>
		<category><![CDATA[debugging]]></category>
		<category><![CDATA[firebug]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[troubleshoot]]></category>

		<guid isPermaLink="false">http://borkweb.com/story/firbug-04-released-can-web-development-be-any-sexier</guid>
		<description><![CDATA[One of my must have extensions for firefox has a new version out! Firebug, if you don&#8217;t already know, is an Ajax/layout/javascript troubleshooter and is extremely well developed. In version 0.4, Firebug steps beyond the bounds of being a troubleshooter and can now be considered a full fledged debugger. Its new features include: JavaScript Debugger [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://joehewitt.com/software/firebug/firebug.png" align="left" class="post_image" style="border:0px;margin-right:10px;"/> One of my <a href="http://borkweb.com/story/must-have-extensions-for-firefox">must have extensions for firefox</a> has a new version out!  Firebug, if you don&#8217;t already know, is an Ajax/layout/javascript troubleshooter and is extremely well developed.  In version 0.4, Firebug steps beyond the bounds of being a troubleshooter and can now be considered a full fledged <strong>debugger</strong>.  Its new features include:<br />
<br clear="all"/></p>
<ul>
<li>JavaScript Debugger</li>
<li>Stack Traces with JavaScript Errors</li>
<li>Debug JavaScript Errors</li>
<li>Logging levels and assertions</li>
<li>printf-like String formatting</li>
</ul>
<p>For more info, check out <a href="http://joehewitt.com/software/firebug/releases/0.4notes.php">the release notes</a>!</p>
<p>(note: I found out about this on <a href="http://ajaxian.com/archives/firebug-04-now-with-debugger">Ajaxian</a>)</p>
]]></content:encoded>
			<wfw:commentRss>http://borkweb.com/story/firbug-04-released-can-web-development-be-any-sexier/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Must Have Extensions For Firefox</title>
		<link>http://borkweb.com/story/must-have-extensions-for-firefox</link>
		<comments>http://borkweb.com/story/must-have-extensions-for-firefox#comments</comments>
		<pubDate>Fri, 24 Feb 2006 12:39:50 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Random News]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[debug]]></category>
		<category><![CDATA[debugging]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[extensions]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[web browser]]></category>

		<guid isPermaLink="false">http://www.borkweb.com/story/must-have-extensions-for-firefox</guid>
		<description><![CDATA[As many well know, I am a huge advocate for Firefox. As a user, I like it for a few reasons; its consistent across platforms, tabbed browsing, fairly secure, skinable, and last but not least&#8230;extensibile. The extensibility of the god of browsers is where things really shine for me as a developer&#8230;a web application developer. [...]]]></description>
			<content:encoded><![CDATA[<p><img id="image183" src="http://www.borkweb.com/wp-content/uploads/2006/02/firefox-logo.thumbnail.jpg" alt="firefox-logo.jpg" align="left" class="post_image"/>As many well know, I am a huge advocate for Firefox.  As a user, I like it for a few reasons; its consistent across platforms, <strong>tabbed browsing</strong>, fairly secure, skinable, and last but not least&#8230;extensibile.</p>
<p>The extensibility of the god of browsers is where things really shine for me as a developer&#8230;a web application developer.  There are two that I use religiously for Javascript debugging, DOM inspecting, CSS tweaking, source viewing, Ajax calls, etc.  Here they are.  Get them.  Use them.  You&#8217;ll crap your pants.</p>
<p><strong>Web Developer</strong> &#8211; get it <a href="https://addons.mozilla.org/extensions/moreinfo.php?id=60&#038;application=firefox">here</a>.</p>
<blockquote><p>
<img id="image181" src="http://www.borkweb.com/wp-content/uploads/2006/02/web_developer-1.thumbnail.jpg" alt="web_developer-1.jpg" align="left" class="post_image"/>The Web Developer extension adds a menu and a toolbar to the browser with various web developer tools. It is designed for Firefox, Flock, Mozilla  and Seamonkey, and will run on any platform that these browsers support including Windows, Mac OS  X and Linux.<br clear="left"/>
</p></blockquote>
<p><strong>Firebug</strong> &#8211; get it <a href="https://addons.mozilla.org/extensions/moreinfo.php?id=1843&#038;application=firefox">here</a>.</p>
<blockquote><p>
<img id="image180" src="http://www.borkweb.com/wp-content/uploads/2006/02/firebug-2.thumbnail.jpg" alt="firebug-2.jpg" align="left" class="post_image"/>FireBug is a new tool that aids with debugging Javascript, DHTML, and Ajax. It is like a combination of the Javascript Console, DOM Inspector, and a command line Javascript interpreter.</p>
<p>Other fun features:</p>
<p>* XMLHttpRequest Spy &#8211; Ever wonder what all them newfangled Ajax websites are up to? Watch the requests fly by in the console!</p>
<p>* One web page, one console &#8211; Tired of slogging through a zillion errors in the JavaScript Console trying to find the one you want? The FireBug console is built into the bottom of the browser, and only shows you errors and log messages that came from the page you&#8217;re looking at.</p>
<p>* JavaScript Error Status Bar Indicator &#8211; It&#8217;s a sin that Firefox doesn&#8217;t include this by default, like IE does. When there is an error in the page, the status bar will let you know with a big red blob.</p>
<p>* Logging for web pages &#8211; Sick and tired of &#8220;alert debugging&#8221;? Jealous of all your C programmer buddies with their fancy printf? Now you can log text and objects to the FireBug console from any web page. See my website for more info on this.</p>
<p>[etc]
</p></blockquote>
<p>And obviously&#8230;if you don&#8217;t have FireFox (tsk tsk), get it here:<br />
<script type="text/javascript"><!--
google_ad_client = "pub-6394436445690763";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as_rimg";
google_cpa_choice = "CAAQj6eVzgEaCIxA5niBniDSKOm293M";
//--></script><br />
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
]]></content:encoded>
			<wfw:commentRss>http://borkweb.com/story/must-have-extensions-for-firefox/feed</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>

