-
Bug
-
Resolution: Done
-
Not Evaluated
-
Qt Creator 2.8.0
-
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
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.
For Gerrit Dashboard: QTCREATORBUG-9947 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
62836,1 | Debugger: Improve caching of unnamed structures | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |