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

shift-F11 stopps debugging



  • Hi all!

    I am working on a desktop database app in QtCreator using the mingw tool chain. I can build debug and release, so everything looks fine. But when I press shift-F11 while stepping through code in the debugger the process terminates and in the App Output Window I can read "Debugging has finished".
    Any Idea what might be the reason?
    regards
    Holger


  • Lifetime Qt Champion

    Hi
    Did you upgrade Qt or anything like that ?
    Try to clean build folder, and delete the .pro.user file
    and select mingw again and see.



  • Thank you for your attention and advice. Actually I forgot to mention, that there are rare cases, where it works.
    But I tried what you said and deleted the build folders and users files - but it stays the same.
    Regards
    Holger


  • Lifetime Qt Champion

    @HoMa
    Hi
    Ok. i seen this happen if Qt was upgraded on one used the old .pro.user file.
    Does this happen in any project ?
    Is it unly run to end that end this way ?
    Single step etc works ?



  • I work with QTC now for a year or so - I had some updates, yes.
    I have seen it in different projects (well - I hand not too many - a big one and a couple of test programs)
    This is a hard exit - it does not run to end. Single step and step into works fine.

    Thx for asking.
    Holger


  • Lifetime Qt Champion

    @HoMa
    Hmm that is pretty odd.
    And you tried reinstalling ?


  • Lifetime Qt Champion

    Hi,

    In the same ideas, what is your version of Qt Creator ? If the latest you can try to use an earlier version.



  • I am on Qt Creator 4.13.0, just recently updated. I guess this was the first update since last install...

    But thinking back - I observed that with older verstions too in the last month.

    Thx and best regards
    Holger


  • Lifetime Qt Champion

    Hi @HoMa,

    may I ask which Debugger backend that is?

    You may want to have a look in the Debugger Log: View (Window in older Creator releases) > Views > Debugger Log. It might give some more insight what's going wrong.

    Regards



  • Sorry for the late reply. I did a reinstall and with this a switch to msvc. Now it works. I was on mingw before.
    Best regards
    Holger


Log in to reply