<?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>Object Mentor Blog: I got tired and debugged!</title>
    <link>http://blog.objectmentor.com/articles/2006/12/20/i-got-tired-and-debugged</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description></description>
    <item>
      <title>I got tired and debugged!</title>
      <description>&lt;p&gt;My grandaughter slept over last night.  She&amp;#8217;s an early riser.  She and I had breakfast at 6am.  My wife got a new cell phone (TREO680) yesterday, and I helped her set it up.  So I didn&amp;#8217;t go to bed until late.  In short, I didn&amp;#8217;t get a lot of sleep.&lt;/p&gt;


	&lt;p&gt;A bunch of us are working on a new training example for object oriented design principles and patterns.  It&amp;#8217;s a large-ish web-based system that has lots of interesting lessons to learn.  We&amp;#8217;ll be presenting it as a series of exercises throughout the course.  Anyway, we&amp;#8217;ve all been working as a team, writing this software.  It&amp;#8217;s been a &lt;em&gt;lot&lt;/em&gt; of fun!&lt;/p&gt;


	&lt;p&gt;Anyway, about 3pm I started to get really tired.  I should have stopped.  But I wanted to finish one last story!  (You know the feeling.)  So I pressed on.&lt;/p&gt;


	&lt;p&gt;I ran accross a small dependency problem between two of the classes.  So I started an elaborate refactoring to resolve the issue.  An hour later I had to back out the whole refactoring because it didn&amp;#8217;t solve the problem, or even come close!  I don&amp;#8217;t know what I was thinking.  The real solution was much simpler and took just 10 minutes or so to implement.  I should have stopped then, but, well, you know&amp;#8230;&lt;/p&gt;


	&lt;p&gt;I needed to leave at 5pm.  By 4:30 I was executing my unit tests.  There was a problem.  It didn&amp;#8217;t make sense.  You know the kind!  I stared at the code for a long time, but my brain was mush.  I couldn&amp;#8217;t think.  The lines of code swam before my eyes, but did not speak to me.  I should have stopped then.&lt;/p&gt;


	&lt;p&gt;But no.  Instead, I did something I barely ever do.  Something I haven&amp;#8217;t done in many months.  I set a &lt;em&gt;breakpoint&lt;/em&gt;!  Egad!  I was &lt;em&gt;single-stepping&lt;/em&gt; through the code.  And then I would do that horrible little dance where you step to a point in a module and realize you&amp;#8217;ve gone a step or two too far.  The variables don&amp;#8217;t make sense.  So you start over, and step back to &lt;em&gt;just before&lt;/em&gt; where you were.  Hideous!  I should have stopped!  But I kept at it.  Over and over, breaking, stepping, breaking, stepping.&lt;/p&gt;


	&lt;p&gt;Debuggers feed you a torrent of information.  Even when you are awake it&amp;#8217;s easy to misread them.  When tired, you see what you want to see, not what you really see.  And nothing I saw made any sense.  I finally got to the point where an &lt;em&gt;if&lt;/em&gt; statement comparing two identical strings was failing!  (Or so I thought.)  I demanded that the stupid machine was lying.  I rebuilt the application.  I rebooted my machine.  I redid the breakpoint, over and over.  No change.&lt;/p&gt;


	&lt;p&gt;Now it was after 5pm.  I really needed to go.  I also really needed to fix this damned problem and check in the code.  So I did the only thing that might make a bit of sense (other than stopping, which is what I should have done 2 hours before), I turned off the debugger and asked my pair-partner James for some help.&lt;/p&gt;


	&lt;p&gt;James had been busy helping one of the other guys get subversion working with Eclipse, so he&amp;#8217;d been somewhat distracted while I was spinning myself into a debug rathole.  He came right over and looked at my unit test.  He said &amp;#8220;Oh, shouldn&amp;#8217;t that fravitz be a dorvitz?&amp;#8221;&lt;/p&gt;


	&lt;p&gt;...&lt;/p&gt;


	&lt;p&gt;Duh.  Yes, that fravitz should have been a dorvitz.  It was obvious.  It was simple.  It was a 2 second change, and the tests all passed.  (sigh).&lt;/p&gt;


	&lt;p&gt;So I, once again, reinforce my rule about debuggers.  They are a horrible time-sink.  When you find you must debug, it&amp;#8217;s time to get help or go home.&lt;/p&gt;</description>
      <pubDate>Wed, 20 Dec 2006 18:02:00 -0600</pubDate>
      <guid isPermaLink="false">urn:uuid:d41f7cfc-664c-441a-bb07-44de68915289</guid>
      <author>Uncle Bob</author>
      <link>http://blog.objectmentor.com/articles/2006/12/20/i-got-tired-and-debugged</link>
      <category>Uncle Bob's Blatherings</category>
    </item>
    <item>
      <title>"I got tired and debugged!" by Fitflop</title>
      <description>&lt;p&gt;A great post, thanks for taking the time to share, continued success to your site in the future! GOOD Work!!&lt;/p&gt;</description>
      <pubDate>Mon, 14 May 2012 02:16:51 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:2808179f-c095-4911-83df-16dc3993d657</guid>
      <link>http://blog.objectmentor.com/articles/2006/12/20/i-got-tired-and-debugged#comment-224195</link>
    </item>
    <item>
      <title>"I got tired and debugged!" by brother ink</title>
      <description>&lt;p&gt;Thanks it is really great post.&lt;/p&gt;</description>
      <pubDate>Fri, 23 Mar 2012 06:14:11 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:53502f4d-cba6-4dc0-ab79-a5b58443c2f5</guid>
      <link>http://blog.objectmentor.com/articles/2006/12/20/i-got-tired-and-debugged#comment-212419</link>
    </item>
    <item>
      <title>"I got tired and debugged!" by bahria town lahore </title>
      <description>&lt;p&gt;Good work! I always like to leave comments whenever I see something unusual or impressive. I think we must appreciate those who do something especial. Keep it up, thanks
Ingrit Ray&lt;/p&gt;</description>
      <pubDate>Tue, 06 Mar 2012 09:26:13 -0600</pubDate>
      <guid isPermaLink="false">urn:uuid:c7aa555d-371b-4a6d-af27-5056e4f5c257</guid>
      <link>http://blog.objectmentor.com/articles/2006/12/20/i-got-tired-and-debugged#comment-208387</link>
    </item>
    <item>
      <title>"I got tired and debugged!" by bryan</title>
      <description>&lt;p&gt;Thanks it is nice and valuable sharing. 
&lt;a href="http://www.valuebay.co.uk/cheap-ink/apollo-p-2200.html" rel="nofollow"&gt;hp apollo p-2200 ink&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 06 Feb 2012 08:15:50 -0600</pubDate>
      <guid isPermaLink="false">urn:uuid:8dac829c-d8cd-4fcc-bf7f-78535cceb2b7</guid>
      <link>http://blog.objectmentor.com/articles/2006/12/20/i-got-tired-and-debugged#comment-201947</link>
    </item>
    <item>
      <title>"I got tired and debugged!" by discount cigarettes online</title>
      <description>&lt;p&gt;cigarettes online, there is a tremendous interest in natural health throughout the world. This interest is causing the study of Natural Health to cheap cigarettes shop&lt;/p&gt;


	&lt;p&gt;momentum, and students are enrolling in course studies at an astonishing rate. Unfortunately, this growth has lured some institutions to &#8220;jump on the&lt;/p&gt;


	&lt;p&gt;bandwagon&#8221; to develop natural health programs that are in many instances under-par. We are glad to offer you quality programs that will provide cigarettes online sale&lt;/p&gt;


	&lt;p&gt;background in this popular field of study. You&amp;#8217;ll be mentored and guided by professionals and experts with doctorate degrees who&amp;#8217;ve been in marlboro cigarettes for sale&lt;/p&gt;</description>
      <pubDate>Sun, 30 Oct 2011 23:11:24 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:7fbf8817-df27-471d-b51b-c4a9e22b7d00</guid>
      <link>http://blog.objectmentor.com/articles/2006/12/20/i-got-tired-and-debugged#comment-165947</link>
    </item>
    <item>
      <title>"I got tired and debugged!" by hi good luck </title>
      <description>&lt;p&gt;As component on the pv arrangement, additionally towards design, engineering &lt;a href="http://www.dokiosolar.com/Multicrystalline+Modules-china-2/" rel="nofollow"&gt;Polycrystalline Solar Module&lt;/a&gt; and set up on the pv system&lt;/p&gt;</description>
      <pubDate>Thu, 11 Aug 2011 02:56:34 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:f4428298-7db5-427e-95f3-2869ef0818b2</guid>
      <link>http://blog.objectmentor.com/articles/2006/12/20/i-got-tired-and-debugged#comment-126733</link>
    </item>
    <item>
      <title>"I got tired and debugged!" by hi good luck </title>
      <description>&lt;p&gt;Our pv method will spend &lt;a href="http://www.dokiosolar.com/Multicrystalline+Modules-china-2/" rel="nofollow"&gt;Multicrystalline Module&lt;/a&gt; for by itself in much less than five years,&lt;/p&gt;</description>
      <pubDate>Thu, 11 Aug 2011 02:55:58 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:5b153c04-461c-421b-9477-7be28994a023</guid>
      <link>http://blog.objectmentor.com/articles/2006/12/20/i-got-tired-and-debugged#comment-126732</link>
    </item>
    <item>
      <title>"I got tired and debugged!" by hi good luck </title>
      <description>&lt;p&gt;The pv energy system, developed, designed, engineered &lt;a href="http://www.dokiosolar.com/" rel="nofollow"&gt;Solar Module&lt;/a&gt; and produced by Cenergy Power, addresses additional than four acres of soil in the Parlier complex.&lt;/p&gt;</description>
      <pubDate>Thu, 11 Aug 2011 02:55:28 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:571ef262-8718-493d-9e6a-f55ab6a4a56b</guid>
      <link>http://blog.objectmentor.com/articles/2006/12/20/i-got-tired-and-debugged#comment-126731</link>
    </item>
    <item>
      <title>"I got tired and debugged!" by funny pictures</title>
      <description>&lt;p&gt;yeah agreed but some of you guys just create bias comments&lt;/p&gt;</description>
      <pubDate>Tue, 03 May 2011 03:25:25 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:d3cdd106-2ad1-424c-890b-109e34bf9088</guid>
      <link>http://blog.objectmentor.com/articles/2006/12/20/i-got-tired-and-debugged#comment-94021</link>
    </item>
    <item>
      <title>"I got tired and debugged!" by okey oyunu oyna </title>
      <description>&lt;p&gt;thank you uncle bob, nice informaiton&lt;/p&gt;</description>
      <pubDate>Fri, 22 Apr 2011 06:47:54 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:2f858bde-1535-45f0-8b25-578ca4868456</guid>
      <link>http://blog.objectmentor.com/articles/2006/12/20/i-got-tired-and-debugged#comment-89555</link>
    </item>
    <item>
      <title>"I got tired and debugged!" by Seo Firm India</title>
      <description>&lt;p&gt;Hi, i enjoy reading your website or blog. I got many ideas for my blog. Thanks for the info&lt;/p&gt;</description>
      <pubDate>Fri, 18 Mar 2011 12:19:23 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:f309eb0f-efe8-47ef-9cb2-0e17f6bbe5a1</guid>
      <link>http://blog.objectmentor.com/articles/2006/12/20/i-got-tired-and-debugged#comment-73560</link>
    </item>
    <item>
      <title>"I got tired and debugged!" by Tenant Screening</title>
      <description>&lt;p&gt;The lines of code swam before my eyes, but did not speak to me. I should have stopped then.&lt;/p&gt;</description>
      <pubDate>Fri, 18 Feb 2011 11:15:04 -0600</pubDate>
      <guid isPermaLink="false">urn:uuid:b3eebb90-d9d1-455e-b14c-e71960270eb1</guid>
      <link>http://blog.objectmentor.com/articles/2006/12/20/i-got-tired-and-debugged#comment-64225</link>
    </item>
    <item>
      <title>"I got tired and debugged!" by Criminal Records</title>
      <description>&lt;p&gt;Debuggers feed you a torrent of information. Even when you are awake it&#8217;s easy to misread them. When tired, you see what you want to see, not what you really see.&lt;/p&gt;</description>
      <pubDate>Thu, 17 Feb 2011 17:41:20 -0600</pubDate>
      <guid isPermaLink="false">urn:uuid:942aa74c-af23-47ba-969c-0dd1040110e0</guid>
      <link>http://blog.objectmentor.com/articles/2006/12/20/i-got-tired-and-debugged#comment-64008</link>
    </item>
    <item>
      <title>"I got tired and debugged!" by Free Articles</title>
      <description>&lt;p&gt;&lt;a href="http://www.articlesteer.com/Business-articles/Current-IT-operation-25.html" rel="nofollow"&gt;Current IT operation&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 01 Feb 2011 21:00:31 -0600</pubDate>
      <guid isPermaLink="false">urn:uuid:4f7bcebc-3628-4e48-8f32-d145f128d030</guid>
      <link>http://blog.objectmentor.com/articles/2006/12/20/i-got-tired-and-debugged#comment-60600</link>
    </item>
    <item>
      <title>"I got tired and debugged!" by Criminal Check</title>
      <description>&lt;p&gt;Thanks for this informative post. Keep posting good and useful information.&lt;/p&gt;</description>
      <pubDate>Fri, 21 Jan 2011 10:51:23 -0600</pubDate>
      <guid isPermaLink="false">urn:uuid:0505cc31-0404-436c-a61a-2b1aab9c590a</guid>
      <link>http://blog.objectmentor.com/articles/2006/12/20/i-got-tired-and-debugged#comment-58414</link>
    </item>
    <item>
      <title>"I got tired and debugged!" by dvdsoft</title>
      <description>&lt;p&gt;And if you download the right software, you can &lt;b&gt;&lt;a href="http://www.dvd-creator-converter.com/tutorials/convert-mp4-mpeg4-to-dvd.html" rel="nofollow"&gt;burn MP4 to DVD&lt;/a&gt;&lt;/b&gt;. How to &lt;a href="http://www.dvd-creator-converter.com/tutorials/remove-drm-protection.html" rel="nofollow"&gt;remove DRM protection&lt;/a&gt; from M4V, WMV, M4P, AAC, M4A, WMA, OGG, iTunes, Napster, Rhapsody legally? So that you can &lt;a href="http://www.dvd-creator-converter.com/tutorials/convert-itunes-to-dvd.html" rel="nofollow"&gt;burn iTunes to DVD&lt;/a&gt; or convert DRM files to other unprotected formats.&lt;a href="http://www.dvd-creator-converter.com/tutorials/convert-wmv-to-dvd.html" rel="nofollow"&gt;WMV to DVD&lt;/a&gt;, &lt;a href="http://www.dvd-creator-converter.com/tutorials/convert-quicktime-mov-to-dvd.html" rel="nofollow"&gt;MOV to DVD&lt;/a&gt;, &lt;a href="http://www.dvd-creator-converter.com/media-converter/" rel="nofollow"&gt;DRM Removal Tool&lt;/a&gt;, &lt;a href="http://www.dvd-creator-converter.com/tutorials/convert-mp4-mpeg4-to-dvd.html" rel="nofollow"&gt;MP4 to DVD&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 13 Dec 2010 07:55:24 -0600</pubDate>
      <guid isPermaLink="false">urn:uuid:734c7e3c-e5bb-4cf0-b99e-c57dd79410a4</guid>
      <link>http://blog.objectmentor.com/articles/2006/12/20/i-got-tired-and-debugged#comment-48715</link>
    </item>
    <item>
      <title>"I got tired and debugged!" by clothing button</title>
      <description>&lt;p&gt;&lt;a href="http://www.valorogioielli.com/" rel="nofollow"&gt;Orologi Rolex&lt;/a&gt; is a comparison shopping search engine based in &lt;a href="http://www.enterhangzhou.com/" rel="nofollow"&gt;hangzhou hotel&lt;/a&gt;   
Brian Smith&amp;#8217;s &lt;a href="http://www.prime-time24.com/" rel="nofollow"&gt;Rolex Uhr&lt;/a&gt; very detailed yet refreshingly &lt;a href="http://www.gucci-online.info" rel="nofollow"&gt;gucci handbags&lt;/a&gt;.zf&lt;/p&gt;</description>
      <pubDate>Wed, 17 Nov 2010 00:23:25 -0600</pubDate>
      <guid isPermaLink="false">urn:uuid:e5743fef-4581-40c3-9c58-0b73e7653ee0</guid>
      <link>http://blog.objectmentor.com/articles/2006/12/20/i-got-tired-and-debugged#comment-40937</link>
    </item>
    <item>
      <title>"I got tired and debugged!" by Ray Cook</title>
      <description>&lt;p&gt;At the very 1st, I&#8217;d prefer to state thanks to you for this enlightening post. 2nd, I&amp;#8217;d prefer to doubt wheresoever I can determine a lot more data related to your article. I arrived right here through Yahoo and can not find out any linked up web websites connected to this matter. How do I sign for your web blog? I&amp;#8217;d choose to stick to your updates as they arrive along! I had a query to interrogate but I forgotten what it absolutely was&amp;#8230; anyway, thank you very much.&lt;/p&gt;</description>
      <pubDate>Wed, 01 Sep 2010 21:14:13 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:727e4566-9808-4fa1-ab9d-65aa6acafbf8</guid>
      <link>http://blog.objectmentor.com/articles/2006/12/20/i-got-tired-and-debugged#comment-23625</link>
    </item>
    <item>
      <title>"I got tired and debugged!" by ipad to itunes transfer</title>
      <description>&lt;p&gt;it is really good &lt;/p&gt;


	&lt;pre&gt;&lt;code&gt;is the best choice for&lt;/code&gt;&lt;/pre&gt;


	&lt;p&gt;iPad fans to transfer iPad Music/Video/Photos/TV Shows/Podcasts etc to iTunes, With it, you can&lt;/p&gt;


	&lt;p&gt;not only copy files from iPad directly to iTunes, but also can backup iPad content to your&lt;/p&gt;


	&lt;p&gt;iTunes or PC local discs. Besides, it also has the function of transferring&lt;/p&gt;</description>
      <pubDate>Tue, 27 Apr 2010 03:38:55 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:caebc6f9-5e44-4966-b875-34e100387d5e</guid>
      <link>http://blog.objectmentor.com/articles/2006/12/20/i-got-tired-and-debugged#comment-10638</link>
    </item>
    <item>
      <title>"I got tired and debugged!" by John Lee</title>
      <description>&lt;p&gt;Sometimes it is better to cut your losses, take off early and come back with a fresh mind. Its worked everytime for me and I was more productive afterwards.&lt;/p&gt;</description>
      <pubDate>Sat, 09 Jan 2010 18:09:38 -0600</pubDate>
      <guid isPermaLink="false">urn:uuid:fc2b3538-a979-45fa-80d6-0c658bcf4451</guid>
      <link>http://blog.objectmentor.com/articles/2006/12/20/i-got-tired-and-debugged#comment-6862</link>
    </item>
    <item>
      <title>"I got tired and debugged!" by Robert W.</title>
      <description>&lt;p&gt;I disagree.&lt;/p&gt;</description>
      <pubDate>Thu, 01 Feb 2007 03:56:39 -0600</pubDate>
      <guid isPermaLink="false">urn:uuid:01fd6377-00d1-4e46-baad-bb0d081950c6</guid>
      <link>http://blog.objectmentor.com/articles/2006/12/20/i-got-tired-and-debugged#comment-64</link>
    </item>
    <item>
      <title>"I got tired and debugged!" by Aaron Guan</title>
      <description>&lt;p&gt;Hello Uncle Bob,&lt;/p&gt;


	&lt;p&gt;It is really an interesting story about debugger. Sometimes, if you have an urge to use debugger, there must be some mess in your code, or you just get too tired to understand it.&lt;/p&gt;


	&lt;p&gt;But Uncle Bob, what does &amp;#8220;fravitz&amp;#8221; &amp;#38; &amp;#8220;dorvitz&amp;#8221; mean? Are they some kind of data structure in your code?&lt;/p&gt;</description>
      <pubDate>Tue, 09 Jan 2007 03:16:03 -0600</pubDate>
      <guid isPermaLink="false">urn:uuid:877a058e-a70d-4654-b46f-474e53d76463</guid>
      <link>http://blog.objectmentor.com/articles/2006/12/20/i-got-tired-and-debugged#comment-13</link>
    </item>
  </channel>
</rss>

