Spent two hours trying to figure out why my X11 window wasn’t getting keyboard focus and input.
It was.
...I had just turned off all my debugging output to show it, lol.
If I had had any other functionality attached to it yet (other than printing some stuff with std::cout) I suppose it would have been pretty clear what was actually wrong...
Ever spend time trying to figure out a bug by looking at the wrong piece of code?
My best (worst?) is a measly three days or so, back before C was standardized and I didn’t know what lint was, trying to find a missing }.