Every now and then the Xojo IDE/compiler does something that just makes zero logical sense. By all accounts some bit of code should work. But it doesn’t and no amount of debugging and code changes solves it. It’s easy to spend hours and hours chasing these bugs
Most times when something like this happens a simple Xojo restart fixes it. But not always.
After that, I delete the Xojo cache files and restart Xojo. Most of the time that will fix it. But not always.
So I came up with the “If you think you are bat shit crazy fix”. Do all of the above and simply restart your machine. This has always fixed those situations.
Fine, call me bat shit crazy but I have at least 3 other developers that can attest that this works. After hours and hours of trying to debug an issue I was out of options and that was the my last bit of advice. Guess what? Their problem mysteriously disappeared.
I have no idea what the problem is or even how to report it to Xojo. All I know is that if I’ve exhausted everything else in my arsenal, the clear cache and restart seems to work. Who’s crazy now?