When I would program to the point I'm exhausted, I'd do many dumb things. For example, I would be updating a function and never seeing the results.
Well, I was updating the wrong function, one I kept for reference and never called.
Another time I was plugging away and again, not seeing results. I was compiling the newer version but running an older version. Ugh!