Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Debugger hangs on Mac OS X...



  • I'm running the latest QT Creator on Mac OS X, and the Debugger hangs whenever I try to reveal the contents of a class. The debugger logs reads:

    eERROR: Lldb stderr: error: lauroundgridglfilter.o DWARF DW_TAG_array_type DIE at 0x000140ca has a class/union/struct element type DIE 0x000140d6 that is a forward declaration, not a complete definition.
    eTry compiling the source file with -fno-limit-debug-info or disable -gmodule

    eERROR: Lldb stderr: warning: (x86_64) /Users/dllau/SourceTree/build-LAU3DVideoRecorder-Desktop_Qt_5_7_0_clang_64bit-Debug/lauroundgridglfilter.o 0xb000af861: DW_AT_specification(0x00013266) has no decl
    e



  • I have this problem too. Have you find any solution? I posted on stackoverflow here: https://stackoverflow.com/questions/48076697/qt-creator-debugger-very-slow



  • I'm working on a big application using Qt and we have the same issue since a while. It's not clear in which condition it happens, but cleaning the whole folder and rebuilding doesn't help... Updating XCode, QtCreator or changing Qt library version
    neither...



  • I had the same problem and solved it by setting the debugger to

    /Applications/Xcode.app/Contents/Developer/usr/bin/lldb
    


  • @Ilja use that one but it still hangs when looking into some classes. Sometimes it gets there but sometimes it takes a very long time and I just have to give up.



  • @mabeghin I remember having to also set the debugger for the kit, after having added it globally.



  • I installed the latest Qt Creator 4.12.0 version and the problem popped back.
    Here is my debugger log:

    eERROR: Lldb stderr: error: PhRecordingDoc.o DWARF DW_TAG_array_type DIE at 0x0002a570 has a class/union/struct element type DIE 0x0002a57e that is a forward declaration, not a complete definition.
    eTry compiling the source file with -fstandalone-debug or disable -gmodules
    

Log in to reply