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

Expanding an array with 214 elements in the Locals and Expressions window takes ~20 seconds

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • Qt Creator 2.8.1
    • Qt Creator 2.8.0
    • Debugger
    • None
    • Ubuntu 12.04 64-bit
      Qt Creator build with Qt 5.1 from 85a1e3ca55c512d45817a0a7c79cd3900968abc4
      GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04
    • 16c4c2ae649221c1a18dd38bfd6cda0585356319

    Description

      1. Open src/gui/kernel/qkeysequence.cpp.
      2. Put a breakpoint on line 1458.
      3. Debug this app:

      #include <QtGui>
      
      #if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0))
      #include <QtWidgets>
      #endif
      
      int main(int argc, char *argv[])
      {
          QApplication a(argc, argv);
      
          qDebug() << QKeySequence(Qt::Key_Cancel).toString();
      
          return 0;
      }
      

      4. Add the expression "keyname" to the Locals and Expressions window.
      5. Click on the expand icon of the expression. It will take roughly 20 seconds to display the elements. Expanding any of the elements themselves takes the same amount of time.

      Attachments

        1. debuggerlog-v2.txt
          47 kB
        2. debuggerlog.txt
          50 kB
        For Gerrit Dashboard: QTCREATORBUG-9947
        # Subject Branch Project Status CR V

        Activity

          People

            hjk hjk
            mitch_curtis Mitch Curtis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes