<?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>Ted's Mozilla Blog &#187; debugging</title>
	<atom:link href="http://blog.mozilla.com/ted/category/debugging/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mozilla.com/ted</link>
	<description>If this were a diary it would have a unicorn on the cover, because unicorns are awesome.</description>
	<lastBuildDate>Mon, 05 Oct 2009 20:52:11 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Source Server, back on trunk</title>
		<link>http://blog.mozilla.com/ted/2009/10/05/source-server-back-on-trunk/</link>
		<comments>http://blog.mozilla.com/ted/2009/10/05/source-server-back-on-trunk/#comments</comments>
		<pubDate>Mon, 05 Oct 2009 20:50:23 +0000</pubDate>
		<dc:creator>tmielczarek</dc:creator>
				<category><![CDATA[building]]></category>
		<category><![CDATA[debugging]]></category>
		<category><![CDATA[firefox]]></category>

		<guid isPermaLink="false">http://blog.mozilla.com/ted/?p=38</guid>
		<description><![CDATA[Some time ago, Lukas Blakk implemented support for a source server on our Windows builds as a class project in Dave Humphrey&#8217;s class at Seneca College. Of course, soon after that we switched our main VCS from CVS to Mercurial, which broke all of her hard work. Thankfully, we got another one of Dave&#8217;s students, [...]]]></description>
			<content:encoded><![CDATA[<p>Some time ago, <a href="http://crashopensource.blogspot.com/">Lukas Blakk</a> implemented support for a <a href="https://developer.mozilla.org/en/Using_the_Mozilla_source_server">source server</a> on our Windows builds as a class project in <a href="http://vocamus.net/dave/">Dave Humphrey</a>&#8217;s class at <a href="http://www.senecac.on.ca/">Seneca College</a>. Of course, soon after that we switched our main <acronym title="Version Control System">VCS</acronym> from <a href="http://en.wikipedia.org/wiki/Concurrent_Versions_System">CVS</a> to <a href="http://mercurial.selenic.com/wiki/">Mercurial</a>, which broke all of her hard work. Thankfully, we got another one of Dave&#8217;s students, <a href="http://jvalianes.blogspot.com/">Jesse Valianes</a>, to <a title="Bug 440001 -  source server support for mercurial" href="https://bugzilla.mozilla.org/show_bug.cgi?id=440001">fix things</a> to make it work with Mercurial. We landed his patch, but as it turns out we never <a title="Bug 506702 -  need to set PDBSTR_PATH for win32 builds" href="https://bugzilla.mozilla.org/show_bug.cgi?id=506702">enabled a setting on our build machines</a> to make it actually work. However, when we finally tried to do so, I found out that <a title="Bug 385792 -  compress pdb files in symbol store" href="https://bugzilla.mozilla.org/show_bug.cgi?id=385792">another patch</a> we had landed in the interim had broken things. I finally <a title="Bug 520141 -  fix source server support to work with pdb compression" href="https://bugzilla.mozilla.org/show_bug.cgi?id=520141">landed a fix</a> for that, and we flipped it back on, and so today&#8217;s trunk build is source-enabled again.</p>
<p>If you have no idea what any of this means, it means you can <a href="http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/">download a Windows nightly build</a>, attach a debugger, have it download the debug symbols automatically from our <a href="https://developer.mozilla.org/en/Using_the_Mozilla_symbol_server">symbol server</a>, and the debugger will download the matching source for you automatically.</p>
<p>I hope to get this backported to our 1.9.2 and 1.9.1 branches ASAP, so that our 3.5.x and 3.6 release builds will be similarly debuggable.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mozilla.com/ted/2009/10/05/source-server-back-on-trunk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debugging nightly builds with the source server</title>
		<link>http://blog.mozilla.com/ted/2008/04/15/debugging-nightly-builds-with-the-source-server/</link>
		<comments>http://blog.mozilla.com/ted/2008/04/15/debugging-nightly-builds-with-the-source-server/#comments</comments>
		<pubDate>Tue, 15 Apr 2008 19:02:40 +0000</pubDate>
		<dc:creator>tmielczarek</dc:creator>
				<category><![CDATA[debugging]]></category>
		<category><![CDATA[firefox]]></category>

		<guid isPermaLink="false">http://blog.mozilla.com/ted/2008/04/15/debugging-nightly-builds-with-the-source-server/</guid>
		<description><![CDATA[Some time ago, we set up a symbol server for our Windows builds. This was sort of an afterthought, it just happened to be really easy to do in our new crash reporting architecture. It turns out that this is incredibly useful for people. This shouldn&#8217;t be surprising, given how difficult it is to build [...]]]></description>
			<content:encoded><![CDATA[<p>Some time ago, we set up a <a href="http://developer.mozilla.org/en/docs/Using_the_Mozilla_symbol_server" title="Using the Mozilla symbol server">symbol server</a> for our Windows builds. This was sort of an afterthought, it just happened to be really easy to do in our new crash reporting architecture. It turns out that <a href="http://developer.mozilla.org/en/docs/How_to_get_a_stacktrace_with_WinDbg" title="How to get a stacktrace with WinDbg">this is incredibly useful for people</a>. This shouldn&#8217;t be surprising, given how difficult it is to build your own Firefox. Some time after we set this up, I found out that Microsoft&#8217;s debuggers also supported something called a <a href="http://msdn2.microsoft.com/en-us/library/ms680641.aspx" title="MSDN - Source Server">source server</a> (Note: this page did not contain this much information when this project started). This sounded interesting, but it wasn&#8217;t something I had time to work on, so I <a href="http://zenit.senecac.on.ca/wiki/index.php?title=Mozilla_Source_and_Symbol_Server&amp;oldid=12245" title="Seneca Wiki - Mozilla Source and Symbol Server">added some information</a> to <a href="http://zenit.senecac.on.ca/wiki/index.php/Main_Page" title="Seneca Wiki">Seneca&#8217;s wiki</a>, hoping an interested student would pick it up as a class project.</p>
<p>To say that I got more than I hoped for would be an understatement. <a href="http://crashopensource.blogspot.com/" title="Crashing Into the World of Open Source (without a paddle) ">Lukas Blakk</a> took the project and ran with it, producing a working prototype and fleshing it out to the point where it now works perfectly on current nightly builds. She&#8217;s done an incredible job working with a practically undocumented feature of Microsoft&#8217;s debugging tools and having the perseverance to stick it out. As a result, you can now debug nightly Windows builds with full source available. We&#8217;ve got a handy <a href="http://developer.mozilla.org/en/docs/Using_the_Mozilla_source_server" title="Using the Mozilla source server">MDC document available</a> to tell you how. You&#8217;ll need a nightly from today (April 15th) or newer, and this will be available in the Firefox 3.0 release builds. Happy debugging!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mozilla.com/ted/2008/04/15/debugging-nightly-builds-with-the-source-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
