Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Very slow start of QtCreator debugger under Linux. (Linux Mint 22.1/Ubuntu 24.04)
Forum Updated to NodeBB v4.3 + New Features

Very slow start of QtCreator debugger under Linux. (Linux Mint 22.1/Ubuntu 24.04)

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
5 Posts 3 Posters 288 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    Frcs
    wrote last edited by
    #1

    Hello everyone,

    I have an issue with a very slow-starting debugger when launching a c++ debugging sessions from within QtCreator. It takes about 30 seconds before my program launches, making repeated debugging restarts quite painful. The same program starts in less than 1 second when running gdb from my system terminal.

    I tried various fixes without success, including what was suggested here:
    https://forum.qt.io/topic/112648/qt-creator-debugger-very-slow/4?_=1757406648615

    The only solution that worked -temporarily- was to delete ~/.config/QtProject, which is not a viable workaround. And even then, the issue came back after some time.

    Any help in resolving this issues would be greatly appreciated!

    My system: Linux Mint 22.01 (Based on Ubuntu 24.04)

    QtCreator version:

    Product: Qt Creator 13.0.0
    Based on: Qt 6.4.2 (GCC 13.2.0, x86_64)
    
    1 Reply Last reply
    0
    • aha_1980A Offline
      aha_1980A Offline
      aha_1980
      Lifetime Qt Champion
      wrote last edited by
      #2

      Hi @Frcs, I suffer from the same problem from time to time.

      I'd suggest you to upgrade to Qt Creator 17.0.1 and if the problems still exist, create a bugreport at bugreports.qt.io/QTCREATORBUG (please create a link to the report from here). When you create a report, you might be requested to append the debugger log, which is at Views > Views > Debugger Log.

      Regards

      Qt has to stay free or it will die.

      1 Reply Last reply
      0
      • F Offline
        F Offline
        Frcs
        wrote last edited by
        #3

        Thank you for your suggestion. Unfortunately, the problem remains with QtCreator 17.

        But looking at the debugger log, the issue seems to be a timeout due to a breakpoint in a header file. Moving the breakpoint to a .cpp file solves the issues.

        I'll file a bug report.

        1 Reply Last reply
        1
        • aha_1980A Offline
          aha_1980A Offline
          aha_1980
          Lifetime Qt Champion
          wrote last edited by
          #4

          Link to the bugreport: https://bugreports.qt.io/browse/QTCREATORBUG-33474

          Qt has to stay free or it will die.

          1 Reply Last reply
          1
          • JonBJ Offline
            JonBJ Offline
            JonB
            wrote last edited by JonB
            #5

            And for anyone reading this the bug report has already been closed with:

            After further investigation, the issue could be reproduced using gdb in stand-alone mode.

            It is therefore not directly related to QtCreator.

            1 Reply Last reply
            1

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved