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

        Issue Links

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

          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