• stebo@lemmy.dbzer0.comdeleted by creator
    1 year

    and then it doesn’t work because you oversaw a part of the problem

    • $ gdb -ex 'file /bin/gdb'
      run
      corrupted double-linked list
      
      Thread 1 "gdb" received signal SIGABRT, Aborted.
      

      Yeah, try debug that.

  • Taking a short break to do something else for a few minutes is a wonderful way to stay productive and not stuck on some issue.

    I remember specifically one day in university times I was stuck for almost 4 hours in a problem. I started working shortly after 8:00 and I went for lunch with some buddies, came back, and instantly knew the solution. This is how I learned how to have lunch at 9:00