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

Debugging with CDB is extremely slow

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • None
    • Qt Creator 4.3.0
    • Debugger
    • None
    • e47dae643 (10.0), f3cbd506d (10.0)

    Description

      Debugging of our project in Qt Creator is very slow compared to when debugging the same executable in Visual Studio. It takes minutes to hit a breakpoint or display call stack for an assert. This is not reproducible on a small sample project, where everything works well. The project I'm debugging has several milions LOC.

      I've attached two outputs from debugger log. The first one is a situation when program hit a breakpoint and it took about 4 minutes to to display locals. The second one is a situation where there was an assert and it took about 5 minutes before creator displayed the file with assertion and call stack.

      This is not specific to this version of Creator, the same happened for older versions.

      Let me know if you need more information.

      Attachments

        1. cdbtest.7z
          1 kB
        2. CMakeCache.txt
          14 kB
        3. dbg-log-creator.txt
          48 kB
        4. debugger_slowness.pro
          0.1 kB
        5. debugger_slowness.pro.user
          19 kB
        6. debugger-log-1.txt
          45 kB
        7. debugger-log-2.txt
          36 kB
        8. debugger-log-3.txt
          25 kB
        9. debugger-log-3-with-DEBUG.txt
          29 kB
        10. debugger-log-3-with-DEBUG-Timestamps.txt
          35 kB
        11. debug-log-n.txt
          151 kB
        12. image-2021-06-16-13-38-10-995.png
          image-2021-06-16-13-38-10-995.png
          15 kB
        13. image-2021-06-21-09-55-35-684.png
          image-2021-06-21-09-55-35-684.png
          19 kB
        14. main.cpp
          0.6 kB
        15. qtcreatorcdbext64.7z
          2.30 MB
        16. screenshot-1.png
          screenshot-1.png
          37 kB

        Issue Links

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

          Activity

            People

              davschul David Schulz
              danprinc danprinc
              Votes:
              16 Vote for this issue
              Watchers:
              21 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes