Details
-
Suggestion
-
Resolution: Incomplete
-
Not Evaluated
-
None
-
Qt Creator 4.8.0
-
None
Description
Recently, I experienced many difficulties with a program being faulty and not debuggable. The debugger returned immediately.
After days of research, I was able to debug outside of QtCreator using windeployqt. The debugger could not find a specific function. This message (in a message box) had not been logged in the Qt Debugger Log.
What was the problem? Neither with the program itself nor with the debugger: While changing the build settings to a personal MSYS / MingW-w64 installation (g++ 7.2.0 under Windows, most current one up to this date), I did not know that the Qt gdb was deployed with Qt g++ 7.3.0 in mind. I suspect that that was the reason.
Changing to the debugger shipped with MingW solved the problem.
tl; dr: Incompatibility between debugger and compiler.
It would be nice if such an error-prone debugger-compiler constellation could be detected automatically. Up to now, even googling does not show people with the same problem and a correct solution. It may require heavy testing and may not occur such often, but IMHO it's definitely worth the time considering the unhelpful Debugger Log.