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

Debugger not stopping at breakpoints in Qt Creator 4.13.0



  • After updating to Qt Creator 4.13.0 the debugger does not stop at breakpoints anymore. Does anyone experience the same problem?

    Here is the global debugger log:

    Setting up inferior...
    259loadDumpers({"token":259})

    260executeDebuggerCommand({"command":"settings append target.source-map /Users/qt/work/qt /Users/dominik/Qt/5.9.7/clang_64/../Src","token":260})

    261setupInferior({"attachpid":0,"breakonmain":0,<environment suppressed>,"executable":"/Q/Build/capella-qt/capella-cloud_Debug/app/app.app/Contents/MacOS/app","nativemixed":0,"platform":"","processargs":"","remotechannel":"","startmode":1,"symbolfile":"/Q/Build/capella-qt/capella-cloud_Debug/app/app.app/Contents/MacOS/app","sysroot":"","token":261,"useterminal":0,"workingdirectory":"/Q/Build/capella-qt/capella-cloud_Debug/app/app.app/Contents/MacOS"})

    ERROR: Lldb stderr: warning: (x86_64) /Users/dominik/Qt/5.9.7/clang_64/lib/QtWebEngineWidgets.framework/Versions/5/QtWebEngineWidgets empty dSYM file detected, dSYM was created with an executable with no debug info.
    warning: (x86_64) /Users/dominik/Qt/5.9.7/clang_64/lib/QtWebEngineCore.framework/Versions/5/QtWebEngineCore empty dSYM file detected, dSYM was created with an executable with no debug info.

    ERROR: Lldb stderr: warning: (x86_64) /Users/dominik/Qt/5.9.7/clang_64/lib/QtQuick.framework/Versions/5/QtQuick empty dSYM file detected, dSYM was created with an executable with no debug info.

    ERROR: Lldb stderr: warning: (x86_64) /Users/dominik/Qt/5.9.7/clang_64/lib/QtQml.framework/Versions/5/QtQml empty dSYM file detected, dSYM was created with an executable with no debug info.

    ERROR: Lldb stderr: warning: (x86_64) /Users/dominik/Qt/5.9.7/clang_64/lib/QtNetwork.framework/Versions/5/QtNetwork empty dSYM file detected, dSYM was created with an executable with no debug info.

    ERROR: Lldb stderr: warning: (x86_64) /Users/dominik/Qt/5.9.7/clang_64/lib/QtCore.framework/Versions/5/QtCore empty dSYM file detected, dSYM was created with an executable with no debug info.

    ERROR: Lldb stderr: warning: (x86_64) /Users/dominik/Qt/5.9.7/clang_64/lib/QtGui.framework/Versions/5/QtGui empty dSYM file detected, dSYM was created with an executable with no debug info.

    ERROR: Lldb stderr: warning: (x86_64) /Users/dominik/Qt/5.9.7/clang_64/lib/QtWebChannel.framework/Versions/5/QtWebChannel empty dSYM file detected, dSYM was created with an executable with no debug info.

    ERROR: Lldb stderr: warning: (x86_64) /Users/dominik/Qt/5.9.7/clang_64/lib/QtPositioning.framework/Versions/5/QtPositioning empty dSYM file detected, dSYM was created with an executable with no debug info.

    ERROR: Lldb stderr: warning: (x86_64) /Users/dominik/Qt/5.9.7/clang_64/lib/QtPrintSupport.framework/Versions/5/QtPrintSupport empty dSYM file detected, dSYM was created with an executable with no debug info.

    ERROR: Lldb stderr: warning: (x86_64) /Users/dominik/Qt/5.9.7/clang_64/lib/QtWidgets.framework/Versions/5/QtWidgets empty dSYM file detected, dSYM was created with an executable with no debug info.

    ERROR: Lldb stderr: warning: (x86_64) /Users/dominik/Qt/5.9.7/clang_64/lib/QtQuickWidgets.framework/Versions/5/QtQuickWidgets empty dSYM file detected, dSYM was created with an executable with no debug info.

    262insertBreakpoint({"address":0,"command":"","condition":"","enabled":1,"expression":"","file":"/Users/dominik/Q/Develop/helperCode/capella-cloud/app/main.cpp","function":"","id":"","ignorecount":0,"line":7,"modelid":21,"oneshot":0,"token":262,"type":1})

    263executeRoundtrip({"token":263})

    Running requested...
    264runEngine({"token":264})

    Running.
    ERROR: Lldb stderr: warning: (x86_64) /Users/dominik/Qt/5.9.7/clang_64/plugins/platforms/libqcocoa.dylib empty dSYM file detected, dSYM was created with an executable with no debug info.

    ERROR: Lldb stderr: warning: (x86_64) /Users/dominik/Qt/5.9.7/clang_64/plugins/imageformats/libqgif.dylib empty dSYM file detected, dSYM was created with an executable with no debug info.

    ERROR: Lldb stderr: warning: (x86_64) /Users/dominik/Qt/5.9.7/clang_64/plugins/imageformats/libqicns.dylib empty dSYM file detected, dSYM was created with an executable with no debug info.

    ERROR: Lldb stderr: warning: (x86_64) /Users/dominik/Qt/5.9.7/clang_64/plugins/imageformats/libqico.dylib empty dSYM file detected, dSYM was created with an executable with no debug info.

    ERROR: Lldb stderr: warning: (x86_64) /Users/dominik/Qt/5.9.7/clang_64/plugins/imageformats/libqjpeg.dylib empty dSYM file detected, dSYM was created with an executable with no debug info.

    ERROR: Lldb stderr: warning: (x86_64) /Users/dominik/Qt/5.9.7/clang_64/plugins/imageformats/libqmacjp2.dylib empty dSYM file detected, dSYM was created with an executable with no debug info.

    ERROR: Lldb stderr: warning: (x86_64) /Users/dominik/Qt/5.9.7/clang_64/plugins/imageformats/libqsvg.dylib empty dSYM file detected, dSYM was created with an executable with no debug info.

    ERROR: Lldb stderr: warning: (x86_64) /Users/dominik/Qt/5.9.7/clang_64/lib/QtSvg.framework/Versions/5/QtSvg empty dSYM file detected, dSYM was created with an executable with no debug info.

    ERROR: Lldb stderr: warning: (x86_64) /Users/dominik/Qt/5.9.7/clang_64/plugins/imageformats/libqtga.dylib empty dSYM file detected, dSYM was created with an executable with no debug info.

    ERROR: Lldb stderr: warning: (x86_64) /Users/dominik/Qt/5.9.7/clang_64/plugins/imageformats/libqtiff.dylib empty dSYM file detected, dSYM was created with an executable with no debug info.

    ERROR: Lldb stderr: warning: (x86_64) /Users/dominik/Qt/5.9.7/clang_64/plugins/imageformats/libqwbmp.dylib empty dSYM file detected, dSYM was created with an executable with no debug info.

    ERROR: Lldb stderr: warning: (x86_64) /Users/dominik/Qt/5.9.7/clang_64/plugins/imageformats/libqwebp.dylib empty dSYM file detected, dSYM was created with an executable with no debug info.

    Debugger finished.



  • I forgot to mention that the problem occurs on MacOS 10.15.6 but not on Windows 10.



  • Seems to be a bug in Qt Creator 4.13.0 related to root-level symbolic links:
    https://bugreports.qt.io/browse/QTCREATORBUG-24632



  • I'm using QtCreator 4.13.0 and having no issues even with remote debugging. I've found the following page looking just like your problem:

    https://stackoverflow.com/questions/48174272/lldb-qt-missing-debug-info

    Could you try the solution in the given page?



  • Thanks for pointing to the page which I visited already. As I mentioned in my previous post, the problem is related to root-level symbolic links (i.e. entries added in /etc/synthetic.conf required by macOS Catalina to create rool-level directories).


Log in to reply