<?xml version="1.0"?>
<rss version="2.0">
<channel>
  <title>Joe Walker - firebug tag</title>
  <link>http://directwebremoting.org/blog/joe/tags/firebug/</link>
  <description>Thoughts on Web Development</description>
  <language>en</language>
  <copyright>Joe Walker</copyright>
  <lastBuildDate>Wed, 23 Jul 2008 11:00:41 GMT</lastBuildDate>
  <generator>Pebble (http://pebble.sourceforge.net)</generator>
  <docs>http://backend.userland.com/rss</docs>
  
  
  <item>
    <title>2 Wrongs Making a Right: (false &amp;&amp; false) = true</title>
    <link>http://directwebremoting.org/blog/joe/2008/02/28/2_wrongs_making_a_right_false_false_true.html</link>
    
      
        <description>
          &lt;p&gt;I just had one of those times when I thought I totally lost the ability to do simple logic. Take a look at this screenshot:&lt;/p&gt;

&lt;img src=&#034;http://getahead.org/images/firebug-bug.png&#034;/&gt;

&lt;p&gt;I&#039;ll break it down: &lt;code&gt;req.readyState = 4&lt;/code&gt;, and &lt;code&gt;batch.async = false&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Last time I checked &lt;code&gt;4 = 4&lt;/code&gt;. So blatantly &lt;code&gt;(4 != 4)&lt;/code&gt; is &lt;code&gt;false&lt;/code&gt;. And &lt;code&gt;false &amp;&amp; false&lt;/code&gt; is blatantly &lt;code&gt;uber false&lt;/code&gt;, as true as Alice Cooper covering Barbie Girl.&lt;/p&gt;

&lt;p&gt;So seeing firebug step through &lt;code&gt;if (false)&lt;/code&gt; and onto the return statement made about as much sense as trying to raise Schrodinger&#039;s cat in a séance.&lt;/p&gt;

&lt;p&gt;I think it&#039;s another &lt;a href=&#034;http://alex.dojotoolkit.org/?p=651&#034;&gt;quirk in Firebug&lt;/a&gt;. This time it&#039;s simply something funky going on with &#034;step over&#034;.&lt;/p&gt;

&lt;p&gt;The moral is: Firebug sometimes lies to you about where the current line is.&lt;/p&gt;

&lt;p&gt;This is all part of me adapting DWR so that it can be used as a connector between &lt;a href=&#034;http://www.aptana.com/jaxer&#034;&gt;Jaxer&lt;/a&gt; and some Java server. More on that in a bit.&lt;/p&gt;

        </description>
      
      
    
    
    
    <comments>http://directwebremoting.org/blog/joe/2008/02/28/2_wrongs_making_a_right_false_false_true.html#comments</comments>
    <guid isPermaLink="true">http://directwebremoting.org/blog/joe/2008/02/28/2_wrongs_making_a_right_false_false_true.html</guid>
    <pubDate>Thu, 28 Feb 2008 23:43:33 GMT</pubDate>
  </item>
  
  </channel>
</rss>
