Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Unable to debug Android App (Windows + Qt Creator 12 + LLDB)
Forum Update on Monday, May 27th 2025

Unable to debug Android App (Windows + Qt Creator 12 + LLDB)

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
169 Posts 9 Posters 61.7k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C CodesInChaoss
    25 Feb 2024, 13:00

    @CodesInChaoss

    With the sample CLOCK app by QT.... from LINUX...

    Remote LLDB debugging doesn't work at all (QT 5.15.16, QT Creator 12) and with GDB... I get all the regular shit I used to get on windows... same sig faults........ with the sample clock app.....

    C Offline
    C Offline
    CodesInChaoss
    wrote on 25 Feb 2024, 13:01 last edited by
    #118

    Like you may see folks above.. we rather know what we are doing... we resolve all the missing depandancies on the fly.. we switch operating systems on the fly.. it's all SHIT

    C 1 Reply Last reply 25 Feb 2024, 13:04
    0
    • C CodesInChaoss
      25 Feb 2024, 13:01

      Like you may see folks above.. we rather know what we are doing... we resolve all the missing depandancies on the fly.. we switch operating systems on the fly.. it's all SHIT

      C Offline
      C Offline
      CodesInChaoss
      wrote on 25 Feb 2024, 13:04 last edited by
      #119

      @CodesInChaoss 8db4b8ab-3f3a-4240-8b9c-60c63d3c2c80-image.png

      see above.. analogclock, sig fauls... LLDB doesn't kick in at all... GDB after significant delay. and sigfaults from QT internals running on android... Redmi 12 Pro targetting Android SDK 31 all according to the min requirements now on play store

      C 1 Reply Last reply 25 Feb 2024, 13:05
      0
      • C CodesInChaoss
        25 Feb 2024, 13:04

        @CodesInChaoss 8db4b8ab-3f3a-4240-8b9c-60c63d3c2c80-image.png

        see above.. analogclock, sig fauls... LLDB doesn't kick in at all... GDB after significant delay. and sigfaults from QT internals running on android... Redmi 12 Pro targetting Android SDK 31 all according to the min requirements now on play store

        C Offline
        C Offline
        CodesInChaoss
        wrote on 25 Feb 2024, 13:05 last edited by
        #120

        @CodesInChaoss 95dfc3f3-5d6d-4b28-a26f-24b7fddc7b83-image.png Pay attention... throwing in the very same thread as previously on Windows... in an official QT sample app, totally irrelevant to our app

        C 1 Reply Last reply 25 Feb 2024, 13:09
        0
        • C CodesInChaoss
          25 Feb 2024, 13:05

          @CodesInChaoss 95dfc3f3-5d6d-4b28-a26f-24b7fddc7b83-image.png Pay attention... throwing in the very same thread as previously on Windows... in an official QT sample app, totally irrelevant to our app

          C Offline
          C Offline
          CodesInChaoss
          wrote on 25 Feb 2024, 13:09 last edited by
          #121

          @CodesInChaoss 64bb098a-caca-4250-ac80-9236ffb733c4-image.png

          woaaah.... on one occasion we caught a single breakpoint.... with all the sigfaults flying by... same as on Windows

          C 1 Reply Last reply 25 Feb 2024, 13:11
          0
          • C CodesInChaoss
            25 Feb 2024, 13:09

            @CodesInChaoss 64bb098a-caca-4250-ac80-9236ffb733c4-image.png

            woaaah.... on one occasion we caught a single breakpoint.... with all the sigfaults flying by... same as on Windows

            C Offline
            C Offline
            CodesInChaoss
            wrote on 25 Feb 2024, 13:11 last edited by
            #122

            it's impossible to place a breakpoint in main (even though there's a dedicated option in Debug sub-menu).

            GDB debugging delayed, sig faults all around.
            can't get LLDB debugging to work at all

            C 1 Reply Last reply 25 Feb 2024, 13:14
            0
            • C CodesInChaoss
              25 Feb 2024, 13:11

              it's impossible to place a breakpoint in main (even though there's a dedicated option in Debug sub-menu).

              GDB debugging delayed, sig faults all around.
              can't get LLDB debugging to work at all

              C Offline
              C Offline
              CodesInChaoss
              wrote on 25 Feb 2024, 13:14 last edited by
              #123

              @CodesInChaoss e27f2f05-a7dc-419f-bed0-c794932d7aaa-image.png

              with LLDB on Linux it's same as on Windows.

              app (the sample Clock app by Qt ) keep running for 2-3 minutes already, while the "Launching dbeugger" thing keeps showing.

              Now, it's on latest Ubuntu

              C 1 Reply Last reply 25 Feb 2024, 13:16
              0
              • C CodesInChaoss
                25 Feb 2024, 13:14

                @CodesInChaoss e27f2f05-a7dc-419f-bed0-c794932d7aaa-image.png

                with LLDB on Linux it's same as on Windows.

                app (the sample Clock app by Qt ) keep running for 2-3 minutes already, while the "Launching dbeugger" thing keeps showing.

                Now, it's on latest Ubuntu

                C Offline
                C Offline
                CodesInChaoss
                wrote on 25 Feb 2024, 13:16 last edited by
                #124

                @CodesInChaoss After 4 minutes have passed
                1aed96f0-9924-491a-97af-eb189a8a3eff-image.png

                C 1 Reply Last reply 25 Feb 2024, 13:16
                0
                • C CodesInChaoss
                  25 Feb 2024, 13:16

                  @CodesInChaoss After 4 minutes have passed
                  1aed96f0-9924-491a-97af-eb189a8a3eff-image.png

                  C Offline
                  C Offline
                  CodesInChaoss
                  wrote on 25 Feb 2024, 13:16 last edited by
                  #125

                  @CodesInChaoss exactly same stuff as on Windows, with an offiial Qt sample app

                  C 1 Reply Last reply 25 Feb 2024, 13:23
                  0
                  • C CodesInChaoss
                    25 Feb 2024, 13:16

                    @CodesInChaoss exactly same stuff as on Windows, with an offiial Qt sample app

                    C Offline
                    C Offline
                    CodesInChaoss
                    wrote on 25 Feb 2024, 13:23 last edited by
                    #126

                    @CodesInChaoss

                    LLDB 'works' only in arm not aaarch64 and on same grounds as gdb. debugging is not possible due to all the sigfaults and delays

                    C 1 Reply Last reply 25 Feb 2024, 13:34
                    0
                    • C CodesInChaoss
                      25 Feb 2024, 13:23

                      @CodesInChaoss

                      LLDB 'works' only in arm not aaarch64 and on same grounds as gdb. debugging is not possible due to all the sigfaults and delays

                      C Offline
                      C Offline
                      CodesInChaoss
                      wrote on 25 Feb 2024, 13:34 last edited by
                      #127

                      @CodesInChaoss

                      switched mobile devices, same shit on another mobile

                      b3fe9f4f-990a-4b64-8ab1-ea9d277b38d4-image.png

                      C 1 Reply Last reply 25 Feb 2024, 13:46
                      0
                      • C CodesInChaoss
                        25 Feb 2024, 13:34

                        @CodesInChaoss

                        switched mobile devices, same shit on another mobile

                        b3fe9f4f-990a-4b64-8ab1-ea9d277b38d4-image.png

                        C Offline
                        C Offline
                        CodesInChaoss
                        wrote on 25 Feb 2024, 13:46 last edited by CodesInChaoss
                        #128

                        So we are now running both Linux and Windows 11.

                        We are having mobile devices from multiple brands targeting API 31.

                        The problem is reproducible with QT sample apps.

                        anyone? QT?

                        • Qt 5.15.16
                        • QT Creator 12 (the online installer does NOT give us access to older builds)
                        • evaluated both GDB and LLDB both local and remote
                        • attempting to debug Qt official Clock sample app
                        • we've tried targeting 32 and 64bit ABIs

                        These are all brand new fresh installations of Windows 11 and Ubuntu.

                        C 1 Reply Last reply 25 Feb 2024, 14:06
                        0
                        • C CodesInChaoss
                          25 Feb 2024, 13:46

                          So we are now running both Linux and Windows 11.

                          We are having mobile devices from multiple brands targeting API 31.

                          The problem is reproducible with QT sample apps.

                          anyone? QT?

                          • Qt 5.15.16
                          • QT Creator 12 (the online installer does NOT give us access to older builds)
                          • evaluated both GDB and LLDB both local and remote
                          • attempting to debug Qt official Clock sample app
                          • we've tried targeting 32 and 64bit ABIs

                          These are all brand new fresh installations of Windows 11 and Ubuntu.

                          C Offline
                          C Offline
                          CodesInChaoss
                          wrote on 25 Feb 2024, 14:06 last edited by
                          #129

                          @CodesInChaoss 96161ead-d351-4411-9489-47f3e21c9c4f-image.png

                          no luck either.

                          By the way, can anyone tell me why API 31 ABI Clang compilers are missing?

                          C 1 Reply Last reply 25 Feb 2024, 14:10
                          0
                          • C CodesInChaoss
                            25 Feb 2024, 14:06

                            @CodesInChaoss 96161ead-d351-4411-9489-47f3e21c9c4f-image.png

                            no luck either.

                            By the way, can anyone tell me why API 31 ABI Clang compilers are missing?

                            C Offline
                            C Offline
                            CodesInChaoss
                            wrote on 25 Feb 2024, 14:10 last edited by
                            #130

                            @CodesInChaoss

                            ok I know, 31 API compilers are only within NDK 25

                            C 1 Reply Last reply 25 Feb 2024, 14:31
                            0
                            • C CodesInChaoss
                              25 Feb 2024, 14:10

                              @CodesInChaoss

                              ok I know, 31 API compilers are only within NDK 25

                              C Offline
                              C Offline
                              CodesInChaoss
                              wrote on 25 Feb 2024, 14:31 last edited by CodesInChaoss
                              #131

                              3ceb8247-b89b-49d0-868a-1f5ca9d61a9d-image.png
                              compiler settings looking GOOD, right?

                              C 1 Reply Last reply 25 Feb 2024, 14:46
                              0
                              • C CodesInChaoss
                                25 Feb 2024, 14:31

                                3ceb8247-b89b-49d0-868a-1f5ca9d61a9d-image.png
                                compiler settings looking GOOD, right?

                                C Offline
                                C Offline
                                CodesInChaoss
                                wrote on 25 Feb 2024, 14:46 last edited by CodesInChaoss
                                #132

                                Folks really counting on you as otherwise wev'e got to spend 4K EURO on a yearly license from QT for them to at least offer us a helpful hand.... just trying to debug the sample Clock app....

                                C 1 Reply Last reply 25 Feb 2024, 23:26
                                0
                                • C CodesInChaoss
                                  25 Feb 2024, 14:46

                                  Folks really counting on you as otherwise wev'e got to spend 4K EURO on a yearly license from QT for them to at least offer us a helpful hand.... just trying to debug the sample Clock app....

                                  C Offline
                                  C Offline
                                  CodesInChaoss
                                  wrote on 25 Feb 2024, 23:26 last edited by
                                  #133

                                  Is anyone here actually using QT 5.15.16 (the latest commercial version from the 5x branch) ?

                                  All segmentation faults appear on 4 distinct Android 13-14 devices I've tried.

                                  On android 10 there are no segmentation faults. BUT debugging either does not work at all in most cases OR why by chance when it kick-in at all then this happens after a delay lasting minutes after the app has long launched and been executing code. ONCE today it happened that a breakpoint hit fist line in main FIRST time in a week and that happened on Android 10.

                                  C 1 Reply Last reply 26 Feb 2024, 06:34
                                  0
                                  • C CodesInChaoss
                                    25 Feb 2024, 23:26

                                    Is anyone here actually using QT 5.15.16 (the latest commercial version from the 5x branch) ?

                                    All segmentation faults appear on 4 distinct Android 13-14 devices I've tried.

                                    On android 10 there are no segmentation faults. BUT debugging either does not work at all in most cases OR why by chance when it kick-in at all then this happens after a delay lasting minutes after the app has long launched and been executing code. ONCE today it happened that a breakpoint hit fist line in main FIRST time in a week and that happened on Android 10.

                                    C Offline
                                    C Offline
                                    CodesInChaoss
                                    wrote on 26 Feb 2024, 06:34 last edited by
                                    #134

                                    https://bugreports.qt.io/browse/QTCREATORBUG-29928?filter=-4&jql=text ~ "android breakpoints" order by created DESC

                                    https://bugreports.qt.io/browse/QTCREATORBUG-30425?filter=-4&jql=text ~ "android breakpoints" order by created DESC

                                    A C 4 Replies Last reply 26 Feb 2024, 08:27
                                    1
                                    • C CodesInChaoss
                                      26 Feb 2024, 06:34

                                      https://bugreports.qt.io/browse/QTCREATORBUG-29928?filter=-4&jql=text ~ "android breakpoints" order by created DESC

                                      https://bugreports.qt.io/browse/QTCREATORBUG-30425?filter=-4&jql=text ~ "android breakpoints" order by created DESC

                                      A Offline
                                      A Offline
                                      Axel Spoerl
                                      Moderators
                                      wrote on 26 Feb 2024, 08:27 last edited by
                                      #135

                                      @CodesInChaoss

                                      Having read through this thread, I must say: Sorry! I understand your frustration and feel your pain.
                                      This issue is a bug, and not related to a local configuration problem. Thanks a lot for your patience and effort in trying alternatives and troubleshooting.

                                      I have been observing and reproducing Qt Creator landing in the disassembler since November 2023. Rremote debugging on Android is complex - I haven't been able to pin it to a specific reason. This needs more attention, I fully agree. I'll channel it internally and keep you posted.

                                      I trust you understand that this is not a trivial matter. It may take a little while, until it's nailed down and solved.

                                      Software Engineer
                                      The Qt Company, Oslo

                                      1 Reply Last reply
                                      0
                                      • C CodesInChaoss
                                        26 Feb 2024, 06:34

                                        https://bugreports.qt.io/browse/QTCREATORBUG-29928?filter=-4&jql=text ~ "android breakpoints" order by created DESC

                                        https://bugreports.qt.io/browse/QTCREATORBUG-30425?filter=-4&jql=text ~ "android breakpoints" order by created DESC

                                        C Offline
                                        C Offline
                                        CodesInChaoss
                                        wrote on 26 Feb 2024, 08:28 last edited by CodesInChaoss
                                        #136

                                        Plain and simple - on which configuration would 5.15.16 debugging work with an Android device.

                                        We would buy and invest into the VERY EXACT configuration.

                                        Exact mobile device/ OS, PC setup, QT Version.

                                        We would also pay for the hint to anyone who provides an effective solution. Payment today.

                                        TomZT 1 Reply Last reply 26 Feb 2024, 11:33
                                        0
                                        • C CodesInChaoss
                                          26 Feb 2024, 06:34

                                          https://bugreports.qt.io/browse/QTCREATORBUG-29928?filter=-4&jql=text ~ "android breakpoints" order by created DESC

                                          https://bugreports.qt.io/browse/QTCREATORBUG-30425?filter=-4&jql=text ~ "android breakpoints" order by created DESC

                                          C Offline
                                          C Offline
                                          CodesInChaoss
                                          wrote on 26 Feb 2024, 08:32 last edited by CodesInChaoss
                                          #137

                                          @Axel-Spoerl

                                          Axel, thank you yet still - we've got a client base which expects us to have the development rolling.

                                          Kindly please advise on what configuration we would be able to use 5.15.16 with an Android setup, we would just like to be able to debug.

                                          If we wouldn't be able to have 5.15.16 working then kindly PLEASE advise which QT version in the 5.X branch to use.

                                          I'm having one developer rolling back to QTC 11 without avail through QTC 10,. he's now o QTC8
                                          We would like to use Qt 5.15.16 with all the bug fixes, the very reason why we bought into QT commercial license to begin with, is that possible?
                                          Please. Thank you so much

                                          1 Reply Last reply
                                          0

                                          127/169

                                          25 Feb 2024, 13:34

                                          • Login

                                          • Login or register to search.
                                          127 out of 169
                                          • First post
                                            127/169
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Users
                                          • Groups
                                          • Search
                                          • Get Qt Extensions
                                          • Unsolved