I’ve been having a serious intermittent WTF in my Juce application for months, but now it’s permanent and I’m completely baffled.
The symptom is that I run my application, everything seems absolutely fine… and yet my main window does not appear. I have of course tried things like rebuilding from scratch, without effect.
What’s particularly baffling is that I’ve gone back to known good branches in my code!, checkpoints that were tested by others even, and rebuilt from scratch - and yet now I get the same bad behaviour on those older branches when I rebuild from scratch!
I haven’t installed any new software, or changed my library paths, and the whole thing is statically linked anyway.
Running this in the debugger or pausing the threads gives me no information at all - everything looks perfectly OK. The code eventually ends up in MessageManager::runDispatchLoop() and stays in [NSApp run]; which is completely as accepted.
I can see my menus, I can see the app running, I can see my console which has nothing abnormal on it. Everything’s fine - except the main window simply doesn’t show up. It’s a one-window app so there’s no way to close that window, nor any way to open another one.
I’ve been stuck on this for a day now and I’m completely out of ideas.