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

Debugging is very slow in RHEL 8.0/8.1 with debuginfo installed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • None
    • Qt Creator 4.9.2, Qt Creator 4.10.2
    • Debugger
    • Linux/X11
    • 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

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

          Activity

            People

              hjk hjk
              ntp2000 Andy Sun
              Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: