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

Android debugging fails => lands in disassembler

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • Qt Creator 13.0.0-rc1
    • Qt Creator 11.0.3, Qt Creator 12.0.0, Qt Creator 12.0.1, Qt Creator 12.0.2
    • Android Support, Debugger
    • None
    • Android
    • e95ad3778 (13.0), 21e48c1a5 (13.0), 3f46037b3 (13.0), d3fb3a163 (13.0)

    Description

      Debugging on a physical Android or emulator device fails in Creator. It worked in 10.0, but that may be unrelated. Downgrading to Creator 10 doesn't solve the present problems.

      To reproduce:

      • compile latest Qt 6.7.0 (dev, 0ec1024ff8ccce76eca32d9f42c9d59a4e483c88) for Android (SDK Version: 11.0, NDK Version: 25.2.9519653, jre-17)
      • run an autotest, e.g. tst_android with ninja tst_android_check => success
      • debug the same autotest in Qt Creator. Compilation works, debugger directly launches disassembler. Debugging not possible.

      The issue is observed openSuSE, but according to the forum thread mentioned below also on Windows 11 and macOS.
      It reproduces on a clean host- and target build, with identical submodule configurations. It reproduces with autotests, as well as externally built applications. It seems to have some sort of Ndk dependency, because the versions 25.2.9519653 and 25.1.8937393 show slightly different symptoms as described below.

      Attachments

        1. lldb-additional-attach-commands.png
          193 kB
          Cristian Adam
        2. qtcreator13-only-one-dissassembly-hit.mp4
          2.70 MB
          Cristian Adam
        3. qtcreator13-disassembly.mp4
          8.84 MB
          Cristian Adam
        4. screenshot-6.png
          182 kB
          Axel Spoerl
        5. logs_debugger_no_start.tgz
          15 kB
          Axel Spoerl
        6. log.tgz
          17 kB
          Axel Spoerl
        7. debugger_left_log.txt
          30 kB
          Ivan Solovev
        8. debugger_right_log.txt
          224 kB
          Ivan Solovev
        9. WorkingDebugger.webp
          133 kB
          Alessandro Portale
        10. testapplications.zip
          9 kB
          Alessandro Portale
        11. debugger_left.log
          29 kB
          Axel Spoerl
        12. debugger_right.log
          109 kB
          Axel Spoerl
        13. screenshot-5.png
          292 kB
          Axel Spoerl
        14. screenshot-4.png
          727 kB
          Axel Spoerl
        15. build.log
          47 kB
          Axel Spoerl
        16. screenshot-3.png
          434 kB
          Axel Spoerl
        17. screenshot-2.png
          183 kB
          Axel Spoerl
        18. screenshot-1.png
          133 kB
          Axel Spoerl

        Issue Links

          For Gerrit Dashboard: QTCREATORBUG-29928
          # Subject Branch Project Status CR V

          Activity

            People

              hjk hjk
              axelspoerl Axel Spoerl
              Votes:
              6 Vote for this issue
              Watchers:
              23 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes