• Forum
  • Lounge
  • Program testing works... when you’ve e

 
Program testing works... when you’ve enabled it...

Mar 13, 2024 at 9:08pm
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 }.
Last edited on Mar 13, 2024 at 9:09pm
Mar 23, 2024 at 4:38pm
Good to know experienced programmers make mistakes too, gives me hope after all.
My PC just crashed recently after a forced Win update.
Mar 23, 2024 at 7:50pm
Heh, I told Windows to take a hike.

I’m very happily running Linux Mint now. I feel a whole lot more in control of my OS now. (There are downsides to that, though!)
Topic archived. No new replies allowed.