Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Can't debug a specific project



  • Hi,
    A project that I was working on for several years stopped being debuggable after I specified different build directories for release and debug builds in the Projects pane. The project builds fine, and even generates the associated .pdb files (compiling in Windows), but all the breakpoints show the hourglass and thus are not triggered. I have tried updating the Qt libraries from 5.10 to 5.12, and tried rebuilding several times to no avail. What should I do to diagnose eventual path mismatches? I'm using MSVC cdb to debug and it doesn't throw any error, stopping the execution just shows assembly code.



  • I solved the problem, in the .pro file, the QT and TEMPLATE directives had to be placed before all the other commands.


Log in to reply