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

single stepping unbearably slow

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • Qt Creator 4.9.2, Qt Creator 4.10.2
    • Debugger
    • arch, Qt 5.13.0, gdb 8.3, lldb 8.0.1
      Qt 5.13.2, gdb 8.3.1
    • Linux/X11

    Description

      Using gdb in the command line, i can get – i would guess – as far as 10 steps per second. Some steps take noticeably longer then others. Lldb seems even faster.

      Starting from the same breakpoint in qtcreator, it takes more than 1 second for each step.
      When the stepping cursor doesn’t instantly vanish and reappear after that time period in the next line, it does so after requesting next step twice in a row, probably waiting for the local variable population query to finish.

      Sometimes it makes a difference if lldb or gdb is used.
      In my test just now using lldb simply got stuck during the first single step. (And i have to select »Abort Debugging« twice to get it killed. Actually just now the red square to kill the program – which doesn’t work in this case, was still there, pressing it did nothing, and pressing ctrl+r segfaulted qtcreator)

      This seems unacceptable to me.

      Attachments

        1. gdb.log
          96 kB
        2. lldb.log
          36 kB
        3. step timed.txt
          6 kB
        4. unfold timed.txt
          2 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            hjk hjk
            darklighter Norbert Pfeiler
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes