<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Fuyuki0</title>
    <description>The latest articles on DEV Community by Fuyuki0 (@fuyuki0).</description>
    <link>https://dev.to/fuyuki0</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4120528%2Faffd7a37-ae07-4d7e-bf53-360425bb1fa8.png</url>
      <title>DEV Community: Fuyuki0</title>
      <link>https://dev.to/fuyuki0</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/fuyuki0"/>
    <language>en</language>
    <item>
      <title>Why can't we stop debugging when we know we should stop?</title>
      <dc:creator>Fuyuki0</dc:creator>
      <pubDate>Sat, 12 Sep 2026 14:52:01 +0000</pubDate>
      <link>https://dev.to/fuyuki0/why-cant-we-stop-debugging-when-we-know-we-should-stop-4kia</link>
      <guid>https://dev.to/fuyuki0/why-cant-we-stop-debugging-when-we-know-we-should-stop-4kia</guid>
      <description>&lt;p&gt;I fixed the bug at 11pm.&lt;/p&gt;

&lt;p&gt;I only know that because I checked the git log the next morning. The commit that made everything pass was at 23:04.&lt;/p&gt;

&lt;p&gt;I kept debugging until 2am anyway.&lt;/p&gt;

&lt;p&gt;So what was I doing for those three hours?&lt;/p&gt;

&lt;p&gt;Honestly... mostly rerunning the same tests.&lt;/p&gt;

&lt;p&gt;Reading the same 40 lines of code.&lt;/p&gt;

&lt;p&gt;Changing something.&lt;/p&gt;

&lt;p&gt;Changing it back.&lt;/p&gt;

&lt;p&gt;Refreshing a page that had already worked like six times.&lt;/p&gt;

&lt;p&gt;And somehow still thinking:&lt;/p&gt;

&lt;p&gt;“maybe this time.”&lt;/p&gt;

&lt;p&gt;I don't think I'm the only one who does this :(&lt;/p&gt;

&lt;h2&gt;
  
  
  The loop
&lt;/h2&gt;

&lt;p&gt;It usually goes something like this:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Something breaks&lt;/li&gt;
&lt;li&gt;You try the obvious fix&lt;/li&gt;
&lt;li&gt;It doesn't work&lt;/li&gt;
&lt;li&gt;You try basically the same fix again&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Step 4 is the dangerous one lol.&lt;/p&gt;

&lt;p&gt;Not really a new idea. Just the same thing with one tiny change that you probably couldn't even explain if someone asked why you changed it.&lt;/p&gt;

&lt;p&gt;Then it fails.&lt;/p&gt;

&lt;p&gt;So you change another tiny thing.&lt;/p&gt;

&lt;p&gt;Run it again.&lt;/p&gt;

&lt;p&gt;Still fails.&lt;/p&gt;

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

&lt;p&gt;I think sunk cost is a big part of it.&lt;/p&gt;

&lt;p&gt;Once you've already spent three hours on something, stopping feels like admitting those three hours were wasted.&lt;/p&gt;

&lt;p&gt;Continuing feels like maybe you can still “save” them.&lt;/p&gt;

&lt;p&gt;Which obviously makes no sense because the three hours are gone either way.&lt;/p&gt;

&lt;p&gt;But try telling yourself that at 1am when you're 100% sure the fix is &lt;strong&gt;&lt;em&gt;right there&lt;/em&gt;&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;There's also this weird thing with debugging where sometimes repeating something actually does work.&lt;/p&gt;

&lt;p&gt;Maybe a cache expired.&lt;/p&gt;

&lt;p&gt;Maybe a deploy finally finished.&lt;/p&gt;

&lt;p&gt;Maybe some service restarted.&lt;/p&gt;

&lt;p&gt;So once in a while, retry number 4 magically works.&lt;/p&gt;

&lt;p&gt;And I think that trains your brain in the worst possible way.&lt;/p&gt;

&lt;p&gt;Like a slot machine, basically.&lt;/p&gt;

&lt;p&gt;Most attempts give you nothing, but every now and then you get rewarded, so your brain goes:&lt;/p&gt;

&lt;p&gt;“SEE?? ONE MORE TRY.”&lt;/p&gt;

&lt;p&gt;The other problem is that these two situations feel exactly the same when you're stuck:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;This will work if I keep going.&lt;/p&gt;

&lt;p&gt;This is never going to work like this and I need another approach.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;From the inside, I genuinely can't tell the difference sometimes.&lt;/p&gt;

&lt;p&gt;Same frustration.&lt;/p&gt;

&lt;p&gt;Same tunnel vision.&lt;/p&gt;

&lt;p&gt;Same feeling that the answer is probably one stupid line away.&lt;/p&gt;

&lt;h2&gt;
  
  
  The thing that actually helps me
&lt;/h2&gt;

&lt;p&gt;It's not discipline.&lt;/p&gt;

&lt;p&gt;I've tried the whole “be disciplined and stop after ... minutes” thing.&lt;/p&gt;

&lt;p&gt;Works great for about a week :D&lt;/p&gt;

&lt;p&gt;The thing that helps the most is when someone else has already hit the exact same problem.&lt;/p&gt;

&lt;p&gt;My friend saying:&lt;/p&gt;

&lt;p&gt;“oh yeah, that's the schema cache. restart it.”&lt;/p&gt;

&lt;p&gt;And suddenly three hours of suffering disappears in one sentence.&lt;/p&gt;

&lt;p&gt;It's not even that they're smarter than you.&lt;/p&gt;

&lt;p&gt;They just already paid the price to learn that weird little piece of information.&lt;/p&gt;

&lt;p&gt;You didn't have to pay for it again.&lt;/p&gt;

&lt;p&gt;That's honestly why I think Stack Overflow was such an important thing for developers.&lt;/p&gt;

&lt;p&gt;Not only because it had answers.&lt;/p&gt;

&lt;p&gt;But because you could search some weird error message at 1am and find proof that another human being had already experienced the exact same pain.&lt;/p&gt;

&lt;p&gt;Sometimes that's enough to get you unstuck.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I've changed
&lt;/h2&gt;

&lt;p&gt;Nothing revolutionary.&lt;/p&gt;

&lt;p&gt;Two very small things.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;A 25 minute timer.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;If I've been on the same bug for 25 minutes, I stop and write down what I've actually ruled out.&lt;/p&gt;

&lt;p&gt;And this is embarrassingly effective because sometimes I start writing and realise:&lt;/p&gt;

&lt;p&gt;“I haven't ruled out anything. I've just been running the same test for 25 minutes.”&lt;/p&gt;

&lt;p&gt;It's hard to write that sentence and then immediately run the test again lol.&lt;/p&gt;

&lt;p&gt;The second thing is just &lt;strong&gt;explaining the problem out loud&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Sometimes to another person.&lt;/p&gt;

&lt;p&gt;Sometimes to myself.&lt;/p&gt;

&lt;p&gt;Sometimes to absolutely nobody.&lt;/p&gt;

&lt;p&gt;I'm not even asking for help.&lt;/p&gt;

&lt;p&gt;I just explain what I think is happening.&lt;/p&gt;

&lt;p&gt;And halfway through the explanation I'll say something like:&lt;/p&gt;

&lt;p&gt;“so this function should receive X because—”&lt;/p&gt;

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

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

&lt;p&gt;There it is.&lt;/p&gt;

&lt;p&gt;Rubber duck debugging is stupidly real and I still don't fully understand why.&lt;/p&gt;

&lt;p&gt;None of this completely fixes the problem btw.&lt;/p&gt;

&lt;p&gt;I still had a 2am debugging session last month.&lt;/p&gt;

&lt;p&gt;But I think the difference now is that the gap between:&lt;/p&gt;

&lt;p&gt;“I'm stuck”&lt;/p&gt;

&lt;p&gt;and&lt;/p&gt;

&lt;p&gt;“oh... I'm doing the thing again”&lt;/p&gt;

&lt;p&gt;has gotten smaller.&lt;/p&gt;

&lt;p&gt;And honestly, I think that gap is where most of the wasted hours go.&lt;/p&gt;

&lt;p&gt;I'm actually curious about this.&lt;/p&gt;

&lt;p&gt;I mean on the genuinely bad nights when you've been staring at the same function for two hours and your brain has completely stopped working.&lt;/p&gt;

&lt;p&gt;What do you actually do?&lt;/p&gt;

&lt;p&gt;I have a feeling the embarrassing answers are probably way more useful than the productivity advice we've all already read :D&lt;/p&gt;

</description>
      <category>mentalhealth</category>
      <category>discuss</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
