<?xml version="1.0"?>
<rss version="2.0">
<channel>
  <title>Joe Walker - debug tag</title>
  <link>http://directwebremoting.org/blog/joe/tags/debug/</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>
  
  <item>
    <title>The case of James Gosling and the missing Javascript Debuggers</title>
    <link>http://directwebremoting.org/blog/joe/2006/04/21/the_case_of_james_gosling_and_the_missing_javascript_debuggers.html</link>
    
      
        <description>
          &lt;p&gt;&lt;a href=&#034;http://www.eweek.com/article2/0,1895,1949466,00.asp&#034;&gt;James Gosling recently claimed that&lt;/a&gt;: &#034;&lt;i&gt;None of the browsers has decent debugging hooks&lt;/i&gt;&#034;.&lt;/p&gt;

&lt;p&gt;I&#039;ve got a list of of Javascript debuggers that might be interesting. I think they must use the debugging hooks in Firefox and IE.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href=&#034;http://www.hacksrus.com/~ginda/venkman/&#034;&gt;Venkman&lt;/a&gt; for Firefox&lt;/li&gt;
&lt;li&gt;&lt;a href=&#034;http://www.joehewitt.com/blog/goodbye_venkman.php&#034;&gt;Firebug&lt;/a&gt; for Firefox (In development)&lt;/li&gt;
&lt;li&gt;&lt;a href=&#034;http://msdn.microsoft.com/vstudio/express/&#034;&gt;MS Visual Studio Express&lt;/a&gt; for IE&lt;/li&gt;
&lt;li&gt;&lt;a href=&#034;http://www.microsoft.com/downloads/details.aspx?FamilyID=2f465be0-94fd-4569-b3c4-dffdf19ccd99&amp;DisplayLang=en&#034;&gt;MS Script Debugger&lt;/a&gt; for IE&lt;/li&gt;
&lt;li&gt;&lt;a href=&#034;http://www.microsoftfrontpage.com/content/TipsAndTricks/FP2002/68_MicrosoftScriptEditor.htm&#034;&gt;Script Editor&lt;/a&gt; for IE&lt;/li&gt;
&lt;li&gt;&lt;a href=&#034;http://www.htmldebugger.com/javascript_debugger/javascript_debugger.asp&#034;&gt;SplineTech  Javascript Debugger&lt;/a&gt; for IE (not used it)&lt;/li&gt;
&lt;li&gt;&lt;a href=&#034;http://www.myeclipseide.com/ContentExpress-display-ceid-58.html&#034;&gt;MyEclipse&lt;/a&gt; for Firefox&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I&#039;m sure there must be something in IntelliJ too, but I don&#039;t have a link. Maybe there is something on the cards over at &lt;a href=&#034;http://www.interaktonline.com/Products/Eclipse/JSEclipse/Overview/&#034;&gt;JSEclipse&lt;/a&gt; too.&lt;/p&gt;

&lt;p&gt;Perhaps James&#039; issue is that the the hooks in FF/IE are not &#039;&lt;i&gt;decent&lt;/i&gt;&#039;? I guess there&#039;s also a very good chance that he was misquoted or misunderstood - it wouldn&#039;t be the first time a journalist had done that. But if not, it would be good to understand why he discounts this list.&lt;/p&gt;

&lt;p&gt;Opera and Safari are conspicuous by their absence. Anyone have any good solutions? And I&#039;m sure there are other debuggers missing.&lt;/p&gt;

&lt;p&gt;Which is your favorite?&lt;/p&gt;

        </description>
      
      
    
    
    
    <comments>http://directwebremoting.org/blog/joe/2006/04/21/the_case_of_james_gosling_and_the_missing_javascript_debuggers.html#comments</comments>
    <guid isPermaLink="true">http://directwebremoting.org/blog/joe/2006/04/21/the_case_of_james_gosling_and_the_missing_javascript_debuggers.html</guid>
    <pubDate>Thu, 20 Apr 2006 23:08:30 GMT</pubDate>
  </item>
  
  <item>
    <title>Javascript Debugger Updated (v0.9.86)</title>
    <link>http://directwebremoting.org/blog/joe/2006/02/02/javascript_debugger_updated_v0_9_86.html</link>
    
      
        <description>
          &lt;p&gt;I&#039;ve updated Venkman, the &lt;a href=&#034;http://getahead.ltd.uk/ajax/venkman&#034;&gt;Javascript debugger &lt;/a&gt;for Firefox. The changes include:&lt;/p&gt;

&lt;img src=&#034;/images/venkman.png&#034; style=&#034;padding:5px 20px;&#034; align=&#034;right&#034;&gt;

&lt;ul&gt;
&lt;li&gt;Now works on &lt;a href=&#034;http://www.mozilla.com/firefox/releases/1.5.0.1.html&#034;&gt;Firefox 1.5.0.1&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Fixed the multiple load bug - previously if you started Venkman, and then closed it, you couldn&#039;t get it back until you re-started Firefox.&lt;/li&gt;
&lt;li&gt;A start to getting it to work under Thunderbird and Flock&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Get it &lt;a href=&#034;http://getahead.ltd.uk/ajax/venkman&#034;&gt;here&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Technorati tags:
&lt;a href=&#034;http://technorati.com/tag/javascript&#034; rel=&#034;tag&#034;&gt;javascript&lt;/a&gt;,
&lt;a href=&#034;http://technorati.com/tag/debugging&#034; rel=&#034;tag&#034;&gt;debugging&lt;/a&gt;,
&lt;a href=&#034;http://technorati.com/tag/venkman&#034; rel=&#034;tag&#034;&gt;venkman&lt;/a&gt;,
&lt;a href=&#034;http://technorati.com/tag/firefox&#034; rel=&#034;tag&#034;&gt;firefox&lt;/a&gt;
&lt;/p&gt;

        </description>
      
      
    
    
    
    <comments>http://directwebremoting.org/blog/joe/2006/02/02/javascript_debugger_updated_v0_9_86.html#comments</comments>
    <guid isPermaLink="true">http://directwebremoting.org/blog/joe/2006/02/02/javascript_debugger_updated_v0_9_86.html</guid>
    <pubDate>Thu, 02 Feb 2006 08:29:37 GMT</pubDate>
  </item>
  
  <item>
    <title>A new home for my Venkman patch</title>
    <link>http://directwebremoting.org/blog/joe/2005/11/04/a_new_home_for_my_venkman_patch.html</link>
    
      
        <description>
          &lt;p&gt;The Firefox Javascript debugger has been looking a bit unloved and quite a few people have been using my patch, so I&#039;ve created a new home for the patch. The new page is a much better place to link to than the old blog entry.&lt;/p&gt;

&lt;img src=&#034;/images/venkman.png&#034; style=&#034;padding:5px 20px;&#034; align=&#034;right&#034;&gt;

&lt;p&gt;The &lt;a href=&#034;http://getahead.ltd.uk/ajax/venkman&#034;&gt;new page&lt;/a&gt; has the advantage that I&#039;ve done the install wizardry to make Venkman installable directly without needing to download it first.&lt;/p&gt;

&lt;p&gt;There is a known bug where you can&#039;t launch Venkman twice in a browser session. I think this is because the close button on Venkman just hides the window rather than releasing all the resources.&lt;/p&gt;

&lt;p&gt;If you want to install &lt;a href=&#034;http://getahead.ltd.uk/ajax/venkman&#034;&gt;Venkman on Firefox 1.5&lt;/a&gt;, you know where to go.&lt;/p&gt;

&lt;p&gt;&amp;nbsp;&lt;/p&gt;

&lt;p&gt;Technorati tags:
&lt;a href=&#034;http://technorati.com/tag/javascript&#034; rel=&#034;tag&#034;&gt;javascript&lt;/a&gt;,
&lt;a href=&#034;http://technorati.com/tag/debugging&#034; rel=&#034;tag&#034;&gt;debugging&lt;/a&gt;,
&lt;a href=&#034;http://technorati.com/tag/venkman&#034; rel=&#034;tag&#034;&gt;venkman&lt;/a&gt;,
&lt;a href=&#034;http://technorati.com/tag/firefox&#034; rel=&#034;tag&#034;&gt;firefox&lt;/a&gt;
&lt;/p&gt;

        </description>
      
      
    
    
    
    <comments>http://directwebremoting.org/blog/joe/2005/11/04/a_new_home_for_my_venkman_patch.html#comments</comments>
    <guid isPermaLink="true">http://directwebremoting.org/blog/joe/2005/11/04/a_new_home_for_my_venkman_patch.html</guid>
    <pubDate>Fri, 04 Nov 2005 10:17:41 GMT</pubDate>
  </item>
  
  <item>
    <title>Javascript Debugger (Venkman)</title>
    <link>http://directwebremoting.org/blog/joe/2005/10/07/javascript_debugger_venkman.html</link>
    
      
        <description>
          &lt;p&gt;&lt;b&gt;Update:&lt;/b&gt; I&#039;ve created a new permanent page for my Venkman patch:&lt;/p&gt;

&lt;div style=&#034;margin:20px; padding:10px; border:1px solid rgb(209, 218, 176); background-color:rgb(239, 248, 206); -moz-border-radius:5px;&#034;&gt;&lt;a href=&#034;http://getahead.ltd.uk/ajax/venkman&#034;&gt;Venkman for Firefox 1.5&lt;/a&gt;&lt;/div&gt;

&lt;hr/&gt;

&lt;p&gt;&lt;b&gt;Old blog content:&lt;/b&gt;&lt;/p&gt;

&lt;img src=&#034;/blog/joe/images/ff15b2.png&#034; align=&#034;right&#034; style=&#034;padding:0px 10px;&#034;/&gt;

&lt;p&gt;Firefox 1.5 beta 2 is &lt;a href=&#034;http://www.mozilla.org/projects/firefox/&#034;&gt;ready for download&lt;/a&gt;. See also the &lt;a href=&#034;http://www.mozilla.org/products/firefox/releases/1.5beta2.html&#034;&gt;release notes&lt;/a&gt; and the &lt;a href=&#034;http://www.squarefree.com/burningedge/releases/1.5b2.html&#034;&gt; list of new features&lt;/a&gt;. This is the last planned beta before the release candidates.&lt;/p&gt;

&lt;p&gt;I&#039;ve updated my hack on the Javascript debugger (Venkman) so it will load into the new browser. You can &lt;a href=&#034;https://dwr.dev.java.net/files/documents/2427/22010/venkman-0.9.85.jw2.xpi&#034;&gt;get the installer package&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Please give me a bit of feedback if you find this useful.&lt;/p&gt;

&lt;img src=&#034;/blog/joe/images/venkman.png&#034;/&gt;

        </description>
      
      
    
    
    
    <comments>http://directwebremoting.org/blog/joe/2005/10/07/javascript_debugger_venkman.html#comments</comments>
    <guid isPermaLink="true">http://directwebremoting.org/blog/joe/2005/10/07/javascript_debugger_venkman.html</guid>
    <pubDate>Fri, 07 Oct 2005 10:14:04 GMT</pubDate>
  </item>
  
  </channel>
</rss>
