Unsolved Mac: Monterey 12.4, XCode 13.2 QTCreator 6.0.2 Weird debug behavior
-
Under OSX 12.4 (updated yesterday), If I create a dummy project, Qt 6.2.4 kit debugs and works. Qt 5.15 kit also debugs and works, with usual warning about no testing. Breakpoints work.
A large project started under Qt 5.1 years ago, updated to Qt 6.2.4 is now compiling and working. I can run the "release" version and it works as expected, from my initial testing. It uses webenginecore (upgraded from webkit, upgraded from webengine).
I have tried cleaning and every other trick I could think of. It did take a while to get a clean build as so much has changed from 5.x to 6.x., but the code appears operational. "Dark" environment.
However, It will not debug. Under 6.2.4, it halts at WebEngineCore unknown symbol. (Qt Symbols are installed). All Breakpoints are ignored, including any in main.c. If I run the "debug" version of the app from Finder, it runs and works as expected.
Under Qt 5.15 (webengine), it runs in the debug environment without halting, but it does not honor breakpoints. However, the "webview" flashes and does not show. If I run the application from Finder, the "webview" shows properly.
The debugger is lldb. The QtCreators tested are 4.15, 6.02, 7.0. They all act identically, so I suspect something else is going on.
Any Suggestions? (This is a GPL project, so if you want an upload I can provide it).
iMac 5k, 2019, 40gb ram 8 core i9 radeon 580x 8gb 786gb free main drive.