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

Resolving breakpoints on start can make Qt Creator extremely slow (cdb)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • Qt Creator 11.0.3
    • Debugger
    • Windows

    Description

      Without any paritucal project (though it have to be fairly big), I have noticed that starting debugging with breakpoints can be extremely slow. Deleting the cdb-cache files and deleting the breakpoints (and typically even adding the relevant again) typically causes a 10x+ speed improvement.

      The issue has been seen when:

      • Having a lot of code changes (git checkout / git stash) while having breakings
      • Changing target so a breakpoint cannot be hit

      It appears that it can be brought into a situation where it for every dll load spend a lot of time on trying to figure out if a given breakpoint is relevant for this dll.

      Attachments

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

        Activity

          People

            davschul David Schulz
            tmartsum Thorbjørn Lund Martsum
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes