<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Talk Like A Duck: True Confesssions</title>
    <link>http://talklikeaduck.denhaven2.com/articles/2007/10/18/true-confesssions</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>In Ruby, it's not the dog, it's the tricks!</description>
    <item>
      <title>True Confesssions</title>
      <description>&lt;div style='width:180; float:left; text-align:right; font-size:xx-small; border-width:1px; border-color:#444444; border-style:solid;margin-bottom:30px; margin-right:30px;' class='tease-image'&gt;
&lt;img width='180' height='240' alt='Exciting confessional' src='http://farm2.static.flickr.com/1408/1032210199_8fe1cd0f6b_m.jpg'&gt;
&lt;br/&gt;
&lt;a href='http://flickr.com/photos/michelelee/1032210199/'&gt;Exciting confessional&lt;/a&gt;
&lt;br/&gt;&amp;copy;
&lt;a href='http://flickr.com/people/michelelee'&gt;michele lee&lt;/a&gt;
&lt;br/&gt;&lt;a href='http://creativecommons.org/licenses/by-nc-sa/2.0/'&gt;&lt;img src='http://i.creativecommons.org/l/by-nc-sa/2.0/80x15.png' title='used under a Creative Commons Attribution-NonCommercial-ShareAlike License' width='80' height='15' border='0'/&gt;&lt;/a&gt;
&lt;/div&gt;
Shhhh!  I've got a confession.  I've been known to use &lt;a href="http://www.datanoise.com/ruby-debug/"&gt;&lt;strong&gt;rdebug&lt;/strong&gt;&lt;/a&gt;
&lt;p&gt;Today, my &lt;a href="http://muellerware.org/"&gt;evil twin, Pat Mueller,&lt;/a&gt; posted an &lt;a href="http://www-128.ibm.com/developerworks/blogs/page/pmuellr?entry=the_vice_of_debugging"&gt;article&lt;/a&gt; alerting me to the fact that some rubyists seem to think that using a debugger is &lt;a href="http://gilesbowkett.blogspot.com/2007/10/debugger-support-considered-harmful.html"&gt;some kind of moral failing.&lt;/a&gt;
&lt;p&gt;Pat took that belief to task, and I've got to agree.&lt;/p&gt;
&lt;p&gt;Like all of you, my gentle readers, I'm perfect.  I never make mistakes, so I never need a debugger.  Well I thought that I made a mistake once, but discovered I was wrong!&lt;/p&gt;
&lt;p&gt;Seriously,  when I first encountered Ruby it was really lacking in debugger support.  Although I missed a good debugger, I struggled along, and yes, I didn't miss it all that much.  Why?  Because a debugger has always been just one tool in my arsenal.&lt;/p&gt;
&lt;p&gt;Most of the time I'm happy to write tests, see that the test fails, write code, make the test pass, lather, rinse and repeat.  By taking small steps, I find that it usually goes rather well.&lt;/p&gt;
&lt;p&gt;But, &lt;strong&gt;on the rare occasion&lt;/strong&gt;, that fourth step poses problems, and that's when I pull out rdebug.&lt;/p&gt;
&lt;p&gt;In fact it's usually: rdebug test/unit/someclass_test.rb although I run rails under rdebug from time to time.&lt;/p&gt;
&lt;p&gt;Ruby IDEs like netbeans and aptana are now provide good integrated debugging.  Pat mentions this, although he's not as hooked in to the ruby community as he should be, so I don't think he realizes that they are using rdebug through an ide interface wrapper.&lt;/p&gt;
&lt;p&gt;Now using IDEs seems to be another &lt;a href="http://www.jroller.com/obie/entry/top_10_reasons_why_java"&gt;moral failing&lt;/a&gt; by some luminaries estimation, but then again &lt;a href="http://podcast.rubyonrails.org/transcripts/2006/obie_fernandez"&gt;maybe not&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Personally, I've got nothing against a good IDE, Heck, I used to work with and on Smalltalk IDEs (VisualAge), and Java IDEs (VA/JAVA, VA MicroEdition, and Eclipse). But I've been almost as happy using VIM on Linux and now TextMate on OSX.  There's even a TextMate bundle which talks to rdebug and let's you set breakpoints.&lt;/p&gt;
&lt;p&gt;I don't use that much, but when I need it, I'm happy and &lt;strong&gt;unashamed&lt;/strong&gt;.&lt;/p&gt;

</description>
      <pubDate>Thu, 18 Oct 2007 10:52:00 -0400</pubDate>
      <guid isPermaLink="false">urn:uuid:91120ea2-465b-4ebb-81f1-6c221c66c121</guid>
      <author>Rick DeNatale</author>
      <link>http://talklikeaduck.denhaven2.com/articles/2007/10/18/true-confesssions</link>
      <trackback:ping>http://talklikeaduck.denhaven2.com/articles/trackback/474</trackback:ping>
    </item>
    <item>
      <title>"True Confesssions" by Giles Bowkett</title>
      <description>&lt;p&gt;I blogged about Gyre, a Rails debugger built in Rails, several months ago. I blogged today a ghetto Rails debugger built out of RCov, Mongrel, and tests. People are over-reacting to this anti-debugger post in a big way.&lt;/p&gt;


	&lt;p&gt;I&amp;#8217;m so tired of it.&lt;/p&gt;</description>
      <pubDate>Fri, 19 Oct 2007 02:39:01 -0400</pubDate>
      <guid isPermaLink="false">urn:uuid:8cf86b61-20ba-4a37-9326-d74efb7cf948</guid>
      <link>http://talklikeaduck.denhaven2.com/articles/2007/10/18/true-confesssions#comment-1485</link>
    </item>
    <item>
      <title>"True Confesssions" by Daniel Berger</title>
      <description>&lt;p&gt;The Perl module Spreadsheet::WriteExcel has almost no tests, and it&amp;#8217;s mostly a bunch of packed data structures. To port it, there were many times I was forced to  start a Perl &lt;strong&gt;and&lt;/strong&gt; Ruby debugger, run them side by side, and do line by line comparisons of the output.&lt;/p&gt;


	&lt;p&gt;That was a barrel of laughs, lemme tell ya, but it wouldn&amp;#8217;t have been possible to port it without a debugger. :)&lt;/p&gt;</description>
      <pubDate>Thu, 18 Oct 2007 16:40:15 -0400</pubDate>
      <guid isPermaLink="false">urn:uuid:5b818896-305a-447a-868a-63f45838774d</guid>
      <link>http://talklikeaduck.denhaven2.com/articles/2007/10/18/true-confesssions#comment-1464</link>
    </item>
    <item>
      <title>"True Confesssions" by Patrick Mueller</title>
      <description>&lt;p&gt;Ya, I&amp;#8217;m aware that NetBeans et al are piggy-backing their IDE-based debugger support on pre-existing debug support in the runtime.  It&amp;#8217;s obvious once you poke around the settings, READMEs, etc for the IDE itself.  That&amp;#8217;s the perfect story, actually.  One low-level debug story that can serve multiple purposes.&lt;/p&gt;


	&lt;p&gt;Already dreaming of building my audible breakpoint hack from Smalltalk, in Ruby :-)&lt;/p&gt;</description>
      <pubDate>Thu, 18 Oct 2007 15:49:00 -0400</pubDate>
      <guid isPermaLink="false">urn:uuid:6855e7ce-ba4e-47a1-90f6-7a41ce72f9f2</guid>
      <link>http://talklikeaduck.denhaven2.com/articles/2007/10/18/true-confesssions#comment-1460</link>
    </item>
  </channel>
</rss>
