Details
-
Bug
-
Resolution: Done
-
P2: Important
-
None
-
Qt Creator 4.9.2, Qt Creator 4.10.2
-
Platform: RedHat Enterprise 8.0/8.1
CentOS 8.0
Qt: Qt 5.11.1, Qt 5.12.5
QtCreator: 1) qt-creator-opensource-linux-x86_64-4.10.2.run form download.qt.io
2) qt-creator-opensource-linux-x86_64-4.11.0-beta2.run from download.qt.io
3) self qt-creator 4.10.2 build with qt 5.11.1
4) self qt-creator 4.9.2/4.10.2 build with qt 5.12.5
GCC: 8.2.1 20180905 by system
GDB: GNU gdb (GDB) Red Hat Enterprise Linux 8.2-5.el8 by system
Qt Debuginfo: 1) from access.redhat.com
2) build by self
Minimal Packages:
qt5-qtbase-gui-5.11.1-5.el8.x86_64
qt5-qtbase-5.11.1-5.el8.x86_64
qt5-qtbase-debuginfo-5.11.1-5.el8.x86_64
qt5-rpm-macros-5.11.1-2.el8.noarch
qt5-qtbase-common-5.11.1-5.el8.noarch
qt5-qtbase-devel-5.11.1-5.el8.x86_64Platform: RedHat Enterprise 8.0/8.1 CentOS 8.0 Qt: Qt 5.11.1, Qt 5.12.5 QtCreator: 1) qt-creator-opensource-linux-x86_64-4.10.2.run form download.qt.io 2) qt-creator-opensource-linux-x86_64-4.11.0-beta2.run from download.qt.io 3) self qt-creator 4.10.2 build with qt 5.11.1 4) self qt-creator 4.9.2/4.10.2 build with qt 5.12.5 GCC: 8.2.1 20180905 by system GDB: GNU gdb (GDB) Red Hat Enterprise Linux 8.2-5.el8 by system Qt Debuginfo: 1) from access.redhat.com 2) build by self Minimal Packages: qt5-qtbase-gui-5.11.1-5.el8.x86_64 qt5-qtbase-5.11.1-5.el8.x86_64 qt5-qtbase-debuginfo-5.11.1-5.el8.x86_64 qt5-rpm-macros-5.11.1-2.el8.noarch qt5-qtbase-common-5.11.1-5.el8.noarch qt5-qtbase-devel-5.11.1-5.el8.x86_64
-
-
c8241c12d0094b18d963d7f635f10d469ca0cbcb
Description
When debugging in RHEL8 with qt debuginfo packages installed, Local&Expressions Windows was too slow.
I opened debugger log and log time stramps, and found:
"python theDumper.fetchVariables" would take about 2 seconds and each
QtClass would take 700ms like attachments.
When I remove qt debuginfo packages from system, everything is back to normal.
When I used Qt 5.9.8 in RHEL 7 with debuginfo, everything was perfect. Each QtClass only cost
less then 10ms, and full debugging step cost less then 100ms.
&"python theDumper.fetchVariables({\"autoderef\":1,\"context\":\"\",\"displaystringlimit\":\"100\",\"dyntype\":1,\"expanded\":[\"inspect\",\"watch\",\"local\",\"return\"],\"fancy\":1,\"formats\":{},\"nativemixed\":0,\"partialvar\":\"\",\"passexceptions\":0,\"qobjectnames\":1,\"resultvarname\":\"\",\"stringcutoff\":\"10000\",\"timestamps\":1,\"token\":257,\"typeformats\":{},\"watchers\":[]})\n" >~"result={token=\"0\",data=[{iname=\"local.this\",name=\"this\",origaddr=\"0x7fffffffe5b8\",address=\"0x78ffd0\",address=\"0x78ffd0\",numchild=\"1\",time=\"0.00016307830810546875\",type=\"Ui_MainWindow\",value=\"\",},{iname=\"local.MainWindow\",name=\"MainWindow\",origaddr=\"0x7fffffffe5b0\",address=\"0x7fffffffe680\",address=\"0x7fffffffe680\",numchild=\"1\",time=\"0.6441819667816162\",type=\"QMainWindow\",value=\"\",},],typeinfo=[],partial=\"0\",counts={},timings=[]}\n" t06:03:26.067 [1689ms] >257^done t06:03:26.067 tResponse time: python theDumper.fetchVariables({"autoderef":1,"context":"","displaystringlimit":"100","dyntype":1,"expanded":["inspect","watch","local","return"],"fancy":1,"formats":{},"nativemixed":0,"partialvar":"","passexceptions":0,"qobjectnames":1,"resultvarname":"","stringcutoff":"10000","timestamps":1,"token":257,"typeformats":{},"watchers":[]}): 1.695 s t06:03:26.067 <Rebuild Watchmodel 46 @ 06:03:26.067 >
Attachments
Issue Links
- relates to
-
QTCREATORBUG-23336 Heavy CPU usage then debugging on recent versions of OSX
- Closed
-
QTCREATORBUG-23311 lldb using 100% cpu while debugging
- Closed
For Gerrit Dashboard: QTCREATORBUG-23207 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
284977,4 | Debugger: Avoid slow code path for pointer referencing | master | qt-creator/qt-creator | Status: ABANDONED | 0 | 0 |
284993,1 | Debugger: Avoid slow code path for pointer referencing | 4.11 | qt-creator/qt-creator | Status: ABANDONED | 0 | 0 |
285002,1 | Debugger: Avoid slow code path for pointer referencing | 4.9 | qt-creator/qt-creator | Status: ABANDONED | 0 | 0 |
285003,3 | Debugger: Avoid slow code path for pointer referencing | 4.11 | qt-creator/qt-creator | Status: ABANDONED | -2 | 0 |
285785,1 | Debugger: Avoid slow code path for pointer referencing | master | qt-creator/qt-creator | Status: ABANDONED | 0 | 0 |
348577,9 | Debugger: Add an option to enable newer gdb's symbol index cache | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |