Important: Please read the Qt Code of Conduct -

LLDB requires a large amount of resources on QtCreator

  • Hi all,

    I have a problem using LLDB with QtCreator. Basically, when I set a breakpoint and the program stops, the lldb process occupies the 100% of the CPU, the temperature of my pc increases and this makes me impossible to debug using QtCreator.

    The problem does not occur when using lldb with a command line.
    The problem occurs with any program, even with

    int main() {
      int var = 1;
      var = var + 7; // set a breakpoint here
      return 0;

    The problem occurs with QMake projects, CMake projects and custom projects (Makefile and C compiler).

    I have found a thread with a user experiencing my same exact problem:
    But my ~/.config/QtProject/QtCreator.ini occupies 25kb and I don't have any error message in the Debugger Log.

    I am using a MacBook Pro with macOS Catalina 10.15.2 (but I faced the same problem with Mojave some weeks ago), QtCreator v4.10.1.

    Do you have any suggestion to investigate more deeply the problem? Do you think that reinstalling lldb or QtCreator could solve the issue?

  • Lifetime Qt Champion

    @francl after a short search I only found but that seems unrelated.

    Can you post your debugger log (Windows > Views)?

    Which Xcode version do you use?


  • @aha_1980 thanks for your help. Actually the problem reported in the link you provided is not exactly the same as mine. But I have found some other users experiencing this problem in another places:

    My Xcode version is 11.3.1, the debugger log, referring to the small program I wrote in the main post (same breakpoint) is:

    Setting up inferior...
    2executeDebuggerCommand({"command":"settings append target.source-map /Users/qt/work/qt /Users/francl/Qt/5.12.5/clang_64/../Src","token":2})
    3setupInferior({"attachpid":0,"breakonmain":0,<environment suppressed>,"executable":"/Users/francl/Desktop/build-main-Desktop_Qt_5_12_5_clang_64bit-Debug/","nativemixed":0,"platform":"","processargs":"","remotechannel":"","startmode":1,"sysroot":"","token":3,"useterminal":0,"workingdirectory":"/Users/francl/Desktop/build-main-Desktop_Qt_5_12_5_clang_64bit-Debug/"})
    Running requested...
    ERROR: Lldb stderr: warning: (x86_64) /Users/francl/Qt/5.12.5/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/francl/Qt/5.12.5/clang_64/lib/QtCore.framework/Versions/5/QtCore empty dSYM file detected, dSYM was created with an executable with no debug info.
    <Rebuild Watchmodel 1 @ 09:29:08.314 >
    Run requested...
    Debugger finished.

  • Lifetime Qt Champion

    Hi @francl,

    Ok, it then looks like QTCREATORBUG-23336 - should be fixed for 4.11.1.


  • @aha_1980 thanks for you help, with 4.11.1 everything goes fine!

Log in to reply