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

Debug is not working with LLDB

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt Creator 4.13.3
    • None
    • Other

    Description

      Hello Qt Creator developers.

      The software is not debugging with LLDB. I run my software in debug mode and it never starts. I'm able to debug from command line. I will try to give you as much information I can.

      FreeBSD:
      Operating System: FreeBSD 13.0
      KDE Plasma Version: 5.20.4
      KDE Frameworks Version: 5.77.0
      Qt Version: 5.15.2
      Kernel Version: 13.0-RELEASE
      OS Type: 64-bit
      Memory: 3.9 GiB of RAM
      Graphics Processor: Mesa DRI IntelĀ® HD Graphics

      LLDB:
      lldb version 11.0.1 (git@github.com:llvm/llvm-project.git revision llvmorg-11.0.1-0-g43ff75f2c3fe)
      clang revision llvmorg-11.0.1-0-g43ff75f2c3fe
      llvm revision llvmorg-11.0.1-0-g43ff75f2c3fe

      Qt Creator:
      Qt Creator 4.13.3
      Based on Qt 5.15.2 (Clang 11.0, 64 bit)

      Here is how I debug a software from command line:
      $ lldb atds3
      [...]
      (lldb) process launch <=== This is how I start the debugging
      Process 55907 launching
      Process 55907 launched: '/home/leiniercs/proyectos/atds3/_construccion/depuracion/atds3' (x86_64)
      [...]
      Process 55907 stopped

      • thread #5, name = 'atds3', stop reason = signal SIGSEGV: invalid address (fault address: 0x10)
        frame #0: 0x000000000025470c atds3`Descarga::iniciado(this=0x0000000000000000) at descarga.cpp:112:9
        109 }
        110
        111 bool Descarga::iniciado() { -> 112 return _iniciado; 113 }

        114
        115 void Descarga::iniciar() {

      Now I will attach a screenshot of Qt Creator when I start the program in debug mode. It get stuck on "Setting up inferior...".

      I hope you fix this for the next version. Best regards.

      Attachments

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

        Activity

          People

            hjk hjk
            leiniercs Leinier Cruz Salfran
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes