Getting toward the new year, so I invite everyone to submit their "Dumbest Debug Problem of the Year" -- something that took a ridiculous amount of time to figure out, and turned out to be really dumb.
I'll go first.
I spent a day trying to figure out why my statement
in the StrUtils unit just would not compile despite multiple readings of the docs, examination of the source, building a minimal test program for the statement, and finally asking for help here on the forum.
After a frustrating day, I finally realized that the correct statement is
My brain just would not accept the "2" instead of the "to" no matter how many times I read it or typed it

(Pretty sure this sort of problem gets worse with age too!)