<?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>~robcee/ &#187; Chromebug</title>
	<atom:link href="http://antennasoft.net/robcee/category/chromebug/feed/" rel="self" type="application/rss+xml" />
	<link>http://antennasoft.net/robcee</link>
	<description>more than just sandwiches</description>
	<lastBuildDate>Fri, 20 Apr 2012 18:26:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Weekly Meeting Recap, October 21, 2008</title>
		<link>http://antennasoft.net/robcee/2008/10/23/weekly-meeting-recap-october-21-2008-2/</link>
		<comments>http://antennasoft.net/robcee/2008/10/23/weekly-meeting-recap-october-21-2008-2/#comments</comments>
		<pubDate>Thu, 23 Oct 2008 15:54:44 +0000</pubDate>
		<dc:creator>robcee</dc:creator>
				<category><![CDATA[Chromebug]]></category>
		<category><![CDATA[Firebug]]></category>
		<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[fireunit]]></category>
		<category><![CDATA[net]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[unittest]]></category>

		<guid isPermaLink="false">http://antennasoft.net/robcee/2008/10/23/weekly-meeting-recap-october-21-2008-2/</guid>
		<description><![CDATA[Just a quick blurb about what we covered in this week&#8217;s meeting: Firebug 1.3.0b2 is available on getfirebug.com Discussed Honza&#8217;s awesome improvements to the Net panel Discussed John Resig&#8217;s further efforts on FireUnit and NetUnit integration Starting to push new code to 1.4 branch, 1.3 for bugfixes and cleanup only. That&#8217;s the short version. The [...]]]></description>
			<content:encoded><![CDATA[<p>Just a quick blurb about what we covered in this week&#8217;s <a target="_blank" href="https://wiki.mozilla.org/Firebug/WeeklyUpdates/2008-10-21">meeting</a>:</p>
<ul>
<li>Firebug 1.3.0b2 is available on <a href="http://getfirebug.com/releases/firebug/1.3/">getfirebug.com</a></li>
<li>Discussed Honza&#8217;s awesome improvements to the Net panel</li>
<li>Discussed John Resig&#8217;s further efforts on FireUnit and NetUnit integration</li>
<li>Starting to push new code to 1.4 branch, 1.3 for bugfixes and cleanup only.</li>
</ul>
<p>That&#8217;s the short version.</p>
<p><a href="http://www.flickr.com/photos/robceemoz/2967271174/" title="Firebug 1.3b2 Net panel by robceemoz, on Flickr"><img src="http://farm4.static.flickr.com/3159/2967271174_aaa1f5333a_m.jpg" width="240" height="222" alt="Firebug 1.3b2 Net panel" align="left" style="margin-right: 8px;" /></a> The longer version includes some good discussion about the net panel improvements, including some ideas for color improvements and drawing <a target="_blank" href="https://developer.mozilla.org/web-tech/2008/10/13/mozafterpaint/">MozAfterPaint</a> events on top of time-lines. We&#8217;re starting to see some additional load events super-imposed on the network traffic now, so the term &#8220;Net panel&#8221; is probably going to be replaced with something like, Construction Timeline in a later version. I don&#8217;t know what that name will be yet.</p>
<p>Resig&#8217;s improvements to <a target="_blank" href="http://antennasoft.net/robcee/2008/10/07/fireunit-the-early-years/">FireUnit</a> include a test-runner mechanism for running through a set of chrome files containing unittests. He&#8217;s also making good progress on integrating Honza&#8217;s NetUnit tests which will include the httpd.js server for hosting locally stored tests. We&#8217;re getting that much closer to having a usable unittest solution.</p>
<p>That&#8217;s not to say that we have full unittest coverage yet. I spent a couple of days messing around last week trying to write some Script panel unittests but ended up scrapping them because I coded around the thing I was trying to test. It was educational at least. I&#8217;ve moved back to working on rewriting some of the packaging tools so we can have a saner, cross-platform mechanism for building the extension and stripping out all the debugging and tracing code. Hint: It will probably be written in a language named for a certain non-venomous snake.</p>
<p>Not mentioned in the bullets, John Barton has moved Chromebug into the google code <a target="_blank" href="http://code.google.com/p/fbug/source/browse/">repository</a> we&#8217;re using for Firebug. Feel free to check it out and <a target="_blank" href="http://antennasoft.net/robcee/2008/08/29/building-chromebug/">give it a whirl</a>. We should be much closer to having Chromebug in a usable state where Firefox and extension developers can start using it.</p>
<div class="code">svn co http://fbug.googlecode.com/svn/chromebug/ chromebug</div>
<p>Oh, and one last thing: For all you testers running nightlies, we&#8217;re going to bump the MaxVersion on Firebug to 3.1 so you can start re-enabling your compatibility checks. Note that Firebug 1.3 on Firefox 3.1 will be considered experimental and useful for testing purposes only. We know there are problems, but we need to track them down and fix them in Firebug 1.4. If you encounter a problem, do a search in our <a target="_blank" href="http://code.google.com/p/fbug/issues/list">Issues</a> database and if you don&#8217;t find it, file it!</p>
]]></content:encoded>
			<wfw:commentRss>http://antennasoft.net/robcee/2008/10/23/weekly-meeting-recap-october-21-2008-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Building Chromebug</title>
		<link>http://antennasoft.net/robcee/2008/08/29/building-chromebug/</link>
		<comments>http://antennasoft.net/robcee/2008/08/29/building-chromebug/#comments</comments>
		<pubDate>Fri, 29 Aug 2008 21:31:58 +0000</pubDate>
		<dc:creator>robcee</dc:creator>
				<category><![CDATA[Chromebug]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Firebug]]></category>
		<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[Build]]></category>

		<guid isPermaLink="false">http://antennasoft.net/robcee/?p=110</guid>
		<description><![CDATA[This week was a pretty incredible week for web stuff. The Labs people kicked off their Ubiquity prototype, letting the world get a taste for some of what will be possible through natural language processing and the browser. I also discovered a new feed reading add-on for Firefox called Feedly which does some very cool [...]]]></description>
			<content:encoded><![CDATA[<p>This week was a pretty incredible week for web stuff. The <a href="http://labs.mozilla.com/" target="_blank">Labs</a> people kicked off their <a href="http://labs.mozilla.com/2008/08/introducing-ubiquity/" target="_blank">Ubiquity</a> prototype, letting the world get a taste for some of what will be possible through natural language processing and the browser. I also discovered a new feed reading add-on for Firefox called <a href="http://feedly.com/" target="_blank">Feedly</a> which does some very cool things with Google Reader to present web feeds in a new way. While reeling from all this new-found power, I had an intense meeting with John Barton who walked me through the setup procedure for Chromebug.</p>
<p>First, there are a couple of caveats about Chromebug. It&#8217;s still in an experimental state. Some parts work well, like the inspection of a chrome window&#8217;s DOM tree and CSS. Other parts are a little flakey or down-right broken. As of right now, the default build instructions will attach you to a 1.3 version of Firebug which has some improvements to handling large script files but is also somewhat broken. It should improve shortly.</p>
<p><a title="chromebug, by robceemoz" href="http://flickr.com/photos/robceemoz/2810151738/"><img src="http://farm4.static.flickr.com/3293/2810151738_fcbc2f9f81_m.jpg" align="middle" width="240" height="138" ></a></p>
<p>So, with that out of the way, I&#8217;ll run through a quick Chromebug setup and install. The <a href="https://fireclipse.svn.sourceforge.net/svnroot/fireclipse/trunk/FireclipseExtensions/chromebug/Readme.txt" target="_blank">instructions</a> are on the sourceforge page for <a href="http://sourceforge.net/projects/fireclipse">Fireclipse</a>, a plugin for Eclipse that adds some debugging capabilities for Firefox and/or JavaScript.</p>
<p><strong>Step 1</strong>. From a suitable directory on your computer, check out the chromebug sourcecode from svn. There are external svn references to include two other add-ons, chromelist and firebug. These will get checked out as well.</p>
<div class="code">svn co https://fireclipse.svn.sourceforge.net/svnroot/fireclipse/trunk/FireclipseExtensions/ fireclipse/extensions</textarea></div>
<p><strong>Step 2</strong>. Create a new <a href="http://support.mozilla.com/en-US/kb/Profiles" target="_blank">profile</a> for Firefox using the <a href="http://kb.mozillazine.org/Profile_Manager" target="_blank">Profile Manager</a>. I called mine &#8220;Chromebug&#8221;. Make sure you start Firefox with this new profile to finish the creation process.</p>
<p><strong>Step 2a</strong>. Make note of the location of this new profile. You&#8217;ll need the full path for the following step. On Windows, this would typically be in &#8220;C:\Documents and Settings\%USERNAME%\Application Data\Mozilla\Firefox\Profiles\xxxxxxxx.Chromebug\&#8221;. Replace %USERNAME% with your username, and xxxxxxxxxx with some randomly generated string. Just look for *.Chromebug in that directory. You will need this for the &#8220;install.dir&#8221; property in step 4 below.</p>
<p><strong>Step 3</strong>. In a console (or terminal window), cd to the chromebug directory you checked out earlier. E.g., cd ~/Projects/fireclipse/extensions/chromebug</p>
<p><strong>Step 4</strong>. Create a local.properties file using your favorite text editor in this directory. Add the following properties to it (each property should be on a single line, regardless of how this blog breaks it up):</p>
<div class="code">install.dir=C:/Documents and Settings/rob/Application Data/Mozilla/Firefox/Profiles/chromebug<br />
firebug.dir=../firebug/branches/firebug1.3<br />
chromelist.dir=../chromelist</div>
<p><strong>Step 5</strong>. Create links to the chromebug extensions. This can be most-easily accomplished using the build.xml file provided in the fireclipse/extensions/chromebug directory and the Java build utility <a href="http://ant.apache.org/" target="_blank">ant</a>. If you don&#8217;t have ant installed, you can do this manually as per the <a href="https://fireclipse.svn.sourceforge.net/svnroot/fireclipse/trunk/FireclipseExtensions/chromebug/Readme.txt" target="_blank">instructions</a> in the included readme file. It&#8217;s standard extension development <a href="http://developer.mozilla.org/en/Setting_up_extension_development_environment#Custom_code_location" target="_blank">linkage</a>.</p>
<p>And now you should be ready to fire it up using (on windows):</p>
<div class="code">firefox.exe -chrome chrome://chromebug/content/chromebug.xul -p chromebug -firefox [optional-url]</textarea></div>
<p>Replace firefox.exe with firefox-bin on unixey OSes. You should see two windows open. One, a smaller window with the title Chromebug, the other, a standard browser window. Before you get too excited and jump in, you should quit the application and restart it (again, using the above command) to make sure the chrome files get registered properly. Now you should be ready to play!</p>
<p>Please keep in mind that Chromebug is experimental. There&#8217;s a lot of code in there and not all of it&#8217;s working. We are interested in getting more people using it and reporting problems though so check it out, and if you encounter any problems, feel free to come to #firebug in irc.mozilla.org and ask questions. You may have better luck using Firebug 1.2 instead of 1.3 currently, but I haven&#8217;t tested that myself. It should be a matter of changing the firebug.dir property in the local.properties file from step 5 above.</p>
<p>I&#8217;d like to thank John Barton for patiently walking me through the above and giving me a walkthrough of the code itself. It&#8217;s incredibly cool stuff and I&#8217;d love to see it become part of the standard arsenal of extension development tools as well as part of the toolkit for developing firefox front end features. In the coming weeks, I&#8217;ll post follow-ups on the state of chromebug and what you can do with it.</p>
<p>Happy debugging!</p>
]]></content:encoded>
			<wfw:commentRss>http://antennasoft.net/robcee/2008/08/29/building-chromebug/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

