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

Debugging on Linux with GDB 12 doesn't work at all

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • Qt Creator 9.0.1, Qt Creator 10.0.0
    • Debugger
    • None
    • Linux/X11

    Description

      When trying to start debugging, the program never starts, the progressbar for "Launching debugger" shows a red bar, and these appear in the stdout:

      Invalid run control state transition from "RunControlState::Starting" to "RunControlState::Stopped"
      SOFT ASSERT [01:33:47.720]: "d->m_logWindow" in /home/qt/work/build/qt-creator/src/plugins/debugger/debuggerengine.cpp:1741
      MSG:  "(gdb) "
      SOFT ASSERT [01:33:47.721]: "d->m_logWindow" in /home/qt/work/build/qt-creator/src/plugins/debugger/debuggerengine.cpp:1741
      MSG:  "~\"Warning: 'set target-async', an alias for the command 'set mi-async', is deprecated.\\n\""
      SOFT ASSERT [01:33:47.721]: "d->m_logWindow" in /home/qt/work/build/qt-creator/src/plugins/debugger/debuggerengine.cpp:1741
      MSG:  "~\"Use 'set mi-async'.\\n\\n\""
      SOFT ASSERT [01:33:47.721]: "d->m_logWindow" in /home/qt/work/build/qt-creator/src/plugins/debugger/debuggerengine.cpp:1741
      MSG:  "14^done"
      SOFT ASSERT [01:33:47.721]: "d->m_logWindow" in /home/qt/work/build/qt-creator/src/plugins/debugger/debuggerengine.cpp:1741
      MSG:  "COOKIE FOR TOKEN 14 ALREADY EATEN (DebuggerFinished). TWO RESPONSES FOR ONE COMMAND?"
      SOFT ASSERT [01:33:47.721]: "d->m_logWindow" in /home/qt/work/build/qt-creator/src/plugins/debugger/debuggerengine.cpp:1741
      MSG:  "(gdb) "
      SOFT ASSERT [01:33:47.721]: "d->m_logWindow" in /home/qt/work/build/qt-creator/src/plugins/debugger/debuggerengine.cpp:1741
      MSG:  "QUIT DEBUGGER REQUESTED IN STATE 16"
      SOFT ASSERT [01:34:07.521]: "d->m_logWindow" in /home/qt/work/build/qt-creator/src/plugins/debugger/debuggerengine.cpp:1741
      MSG:  "\nNON-CRITICAL TIMEOUT\nCOMMANDS STILL IN PROGRESS: "

      I have disabled debuginfod by adding
      set debuginfod enabled off
      into my .gdbinit, hoping that that would resolve creator's confusion, but no.

      Attachments

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

        Activity

          People

            hjk hjk
            villevoutilainen_qt Ville Voutilainen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes