Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-21659

Check whether debugger version is compatible to compiler version

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • Qt Creator 4.8.0
    • Debugger
    • 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.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            hjk hjk
            friedrich_spee x y
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes