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)

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
    20 Feb 2024, 10:34

    It's like I've had everything set up and running perfect but something made me update from QT Creator 10 (community edition) towards QT Creator 12 and here I am.

    C Offline
    C Offline
    CodesInChaoss
    wrote on 20 Feb 2024, 10:37 last edited by
    #23

    seems as both LLDB and GDB come as part of Android SDK/NDK so these have been installed by QT Creator itself during Android bootstrapping (autonomous).

    These things do not come as part of the Online Installer.

    C R 2 Replies Last reply 20 Feb 2024, 10:44
    0
    • C CodesInChaoss
      20 Feb 2024, 10:37

      seems as both LLDB and GDB come as part of Android SDK/NDK so these have been installed by QT Creator itself during Android bootstrapping (autonomous).

      These things do not come as part of the Online Installer.

      C Offline
      C Offline
      CodesInChaoss
      wrote on 20 Feb 2024, 10:44 last edited by CodesInChaoss
      #24

      Can anyone else confirm that we are STILL to be using GDB on Windows with QT creator when debugging Android apps, please?

      I'm more than fine with just about anything that works.

      1 Reply Last reply
      0
      • C CodesInChaoss
        20 Feb 2024, 10:37

        seems as both LLDB and GDB come as part of Android SDK/NDK so these have been installed by QT Creator itself during Android bootstrapping (autonomous).

        These things do not come as part of the Online Installer.

        R Offline
        R Offline
        Ronel_qtmaster
        wrote on 20 Feb 2024, 10:47 last edited by
        #25

        @CodesInChaoss Qt does not install android sdk and ndk during update.You have to do that externelly so if you have updated Qt it might be possible that your ndk version is conflicting somewhere

        C 1 Reply Last reply 20 Feb 2024, 10:55
        0
        • R Ronel_qtmaster
          20 Feb 2024, 10:47

          @CodesInChaoss Qt does not install android sdk and ndk during update.You have to do that externelly so if you have updated Qt it might be possible that your ndk version is conflicting somewhere

          C Offline
          C Offline
          CodesInChaoss
          wrote on 20 Feb 2024, 10:55 last edited by
          #26

          @Ronel_qtmaster

          my friend, 6e6b53f7-567a-477f-ac4d-94bdb35bca74-image.png

          Above, for a couple of YEARS now.

          And I've been using QT when nothing fancy like that was around trust me when I say.

          C 1 Reply Last reply 20 Feb 2024, 10:57
          0
          • C CodesInChaoss
            20 Feb 2024, 10:55

            @Ronel_qtmaster

            my friend, 6e6b53f7-567a-477f-ac4d-94bdb35bca74-image.png

            Above, for a couple of YEARS now.

            And I've been using QT when nothing fancy like that was around trust me when I say.

            C Offline
            C Offline
            CodesInChaoss
            wrote on 20 Feb 2024, 10:57 last edited by CodesInChaoss
            #27

            I've been seeing lots and lots of deep sh** when it comes to QT... I've been deep down. Trust me when I say, it's all doomed but I love it but only because I'm a low-level type of a guy.. I can't possibly IMAGINE any typical developer using it. I simply cannot. Not for mobile. And not from WIndows.

            R 1 Reply Last reply 20 Feb 2024, 11:04
            0
            • C CodesInChaoss
              20 Feb 2024, 10:57

              I've been seeing lots and lots of deep sh** when it comes to QT... I've been deep down. Trust me when I say, it's all doomed but I love it but only because I'm a low-level type of a guy.. I can't possibly IMAGINE any typical developer using it. I simply cannot. Not for mobile. And not from WIndows.

              R Offline
              R Offline
              Ronel_qtmaster
              wrote on 20 Feb 2024, 11:04 last edited by
              #28
              This post is deleted!
              C 1 Reply Last reply 20 Feb 2024, 11:06
              0
              • R Ronel_qtmaster
                20 Feb 2024, 11:04

                This post is deleted!

                C Offline
                C Offline
                CodesInChaoss
                wrote on 20 Feb 2024, 11:06 last edited by CodesInChaoss
                #29

                @Ronel_qtmaster

                Dear Ronel I'll tell you that I've even got GDB 'working' for me but it took quite a few ADB commands and manual creation of folders on my Android device, now tell, me is this a unified QT Multi-Platform Development framework?

                How a typical developer is supposed to get around these issues?

                Why LLDB set by default?

                Now I know it's not QT support.

                Anyway I'm still looking into making the android app actually not skip the initial breakpoints.

                C 1 Reply Last reply 20 Feb 2024, 11:18
                0
                • C CodesInChaoss
                  20 Feb 2024, 11:06

                  @Ronel_qtmaster

                  Dear Ronel I'll tell you that I've even got GDB 'working' for me but it took quite a few ADB commands and manual creation of folders on my Android device, now tell, me is this a unified QT Multi-Platform Development framework?

                  How a typical developer is supposed to get around these issues?

                  Why LLDB set by default?

                  Now I know it's not QT support.

                  Anyway I'm still looking into making the android app actually not skip the initial breakpoints.

                  C Offline
                  C Offline
                  CodesInChaoss
                  wrote on 20 Feb 2024, 11:18 last edited by
                  #30

                  When running the app under GDB (Xiaomi device) I'm getting SigSegvs in a thread named "ScoutStat" asm code.

                  Anyone knows what this might be? It's not part of my app, the app runs fine.

                  C 1 Reply Last reply 20 Feb 2024, 11:25
                  0
                  • C CodesInChaoss
                    20 Feb 2024, 11:18

                    When running the app under GDB (Xiaomi device) I'm getting SigSegvs in a thread named "ScoutStat" asm code.

                    Anyone knows what this might be? It's not part of my app, the app runs fine.

                    C Offline
                    C Offline
                    CodesInChaoss
                    wrote on 20 Feb 2024, 11:25 last edited by CodesInChaoss
                    #31

                    So yeah.. so it seems that the signals received previously by LLDB (but QT was not showing ANY dialog-boxes) or the actual Signal Code, are in fact segmentation faults coming from something name 'Scout Stat' Anyone knows what this is?

                    C 1 Reply Last reply 20 Feb 2024, 11:26
                    0
                    • C CodesInChaoss
                      20 Feb 2024, 11:25

                      So yeah.. so it seems that the signals received previously by LLDB (but QT was not showing ANY dialog-boxes) or the actual Signal Code, are in fact segmentation faults coming from something name 'Scout Stat' Anyone knows what this is?

                      C Offline
                      C Offline
                      CodesInChaoss
                      wrote on 20 Feb 2024, 11:26 last edited by
                      #32

                      9860c293-1da2-4733-a27d-4688c0ca7a36-image.png @CodesInChaoss

                      That's not part of my code and something presumably operating as part of QT ?

                      C 1 Reply Last reply 20 Feb 2024, 11:35
                      0
                      • C CodesInChaoss
                        20 Feb 2024, 11:26

                        9860c293-1da2-4733-a27d-4688c0ca7a36-image.png @CodesInChaoss

                        That's not part of my code and something presumably operating as part of QT ?

                        C Offline
                        C Offline
                        CodesInChaoss
                        wrote on 20 Feb 2024, 11:35 last edited by CodesInChaoss
                        #33

                        Ok folks so there's that MAGICAL
                        'scoutstat' thread, I have no idea what it is that is causing havoc.

                        It must be something related to UI/rendering/UI interactions since the segmentation fault would be signaled only as a result of UI interactions/ UI animations/ preparations.

                        What's that and why the heck it's sig-faulting on meh

                        Not my code. And presumably not part of source code that arrive with QT pre-installed since QT does not bring me to these.

                        C 1 Reply Last reply 20 Feb 2024, 11:39
                        0
                        • C CodesInChaoss
                          20 Feb 2024, 11:35

                          Ok folks so there's that MAGICAL
                          'scoutstat' thread, I have no idea what it is that is causing havoc.

                          It must be something related to UI/rendering/UI interactions since the segmentation fault would be signaled only as a result of UI interactions/ UI animations/ preparations.

                          What's that and why the heck it's sig-faulting on meh

                          Not my code. And presumably not part of source code that arrive with QT pre-installed since QT does not bring me to these.

                          C Offline
                          C Offline
                          CodesInChaoss
                          wrote on 20 Feb 2024, 11:39 last edited by
                          #34

                          72d73fa3-6908-4945-b348-f3758ccd0c88-image.png @CodesInChaoss

                          also getting lots of these on dialog-creations.. what the heck is going on here....

                          C 1 Reply Last reply 20 Feb 2024, 11:41
                          0
                          • C CodesInChaoss
                            20 Feb 2024, 11:39

                            72d73fa3-6908-4945-b348-f3758ccd0c88-image.png @CodesInChaoss

                            also getting lots of these on dialog-creations.. what the heck is going on here....

                            C Offline
                            C Offline
                            CodesInChaoss
                            wrote on 20 Feb 2024, 11:41 last edited by CodesInChaoss
                            #35

                            @CodesInChaoss

                            My app works fine as long as I keep neglecting and going past all these SIGFaults and Sig33s

                            what's that?

                            I really wouldn't like to neglect segmentation faults my code or not.

                            Why am I seeing these now? With QT Creator 12 and not 10?

                            Looking forward to some guidance.

                            C 1 Reply Last reply 20 Feb 2024, 11:45
                            0
                            • C CodesInChaoss
                              20 Feb 2024, 11:41

                              @CodesInChaoss

                              My app works fine as long as I keep neglecting and going past all these SIGFaults and Sig33s

                              what's that?

                              I really wouldn't like to neglect segmentation faults my code or not.

                              Why am I seeing these now? With QT Creator 12 and not 10?

                              Looking forward to some guidance.

                              C Offline
                              C Offline
                              CodesInChaoss
                              wrote on 20 Feb 2024, 11:45 last edited by
                              #36

                              Turns out Sig33 is reserved signal issued by bionic hardware. anyone can confirm, safe to 'handle SIG33 nostop noprint'?

                              C 1 Reply Last reply 20 Feb 2024, 11:49
                              0
                              • C CodesInChaoss
                                20 Feb 2024, 11:45

                                Turns out Sig33 is reserved signal issued by bionic hardware. anyone can confirm, safe to 'handle SIG33 nostop noprint'?

                                C Offline
                                C Offline
                                CodesInChaoss
                                wrote on 20 Feb 2024, 11:49 last edited by
                                #37

                                1484e814-2d8c-4a35-99c6-237323a91988-image.png

                                Loving the overall EXPERIENCE

                                C 1 Reply Last reply 20 Feb 2024, 11:50
                                0
                                • C CodesInChaoss
                                  20 Feb 2024, 11:49

                                  1484e814-2d8c-4a35-99c6-237323a91988-image.png

                                  Loving the overall EXPERIENCE

                                  C Offline
                                  C Offline
                                  CodesInChaoss
                                  wrote on 20 Feb 2024, 11:50 last edited by
                                  #38

                                  Do I DARE to tap the first button?

                                  C 1 Reply Last reply 20 Feb 2024, 11:52
                                  0
                                  • C CodesInChaoss
                                    20 Feb 2024, 11:50

                                    Do I DARE to tap the first button?

                                    C Offline
                                    C Offline
                                    CodesInChaoss
                                    wrote on 20 Feb 2024, 11:52 last edited by
                                    #39

                                    0fb31d8f-f5aa-4aa4-b5be-ec2c92d26c8a-image.png @CodesInChaoss

                                    Why all my KIts' settings get WIPED OUT after the crash?

                                    C J 2 Replies Last reply 20 Feb 2024, 11:53
                                    0
                                    • C CodesInChaoss
                                      20 Feb 2024, 11:52

                                      0fb31d8f-f5aa-4aa4-b5be-ec2c92d26c8a-image.png @CodesInChaoss

                                      Why all my KIts' settings get WIPED OUT after the crash?

                                      C Offline
                                      C Offline
                                      CodesInChaoss
                                      wrote on 20 Feb 2024, 11:53 last edited by
                                      #40

                                      @CodesInChaoss

                                      It's like I'm debugging on V8 ABI, I need 64 bit compiler and QT Creator keeps reverting settings back to 32bit compiled actually messing up with my settings.

                                      Now, how a regular developer is even to notice?

                                      C 1 Reply Last reply 20 Feb 2024, 11:57
                                      0
                                      • C CodesInChaoss
                                        20 Feb 2024, 11:53

                                        @CodesInChaoss

                                        It's like I'm debugging on V8 ABI, I need 64 bit compiler and QT Creator keeps reverting settings back to 32bit compiled actually messing up with my settings.

                                        Now, how a regular developer is even to notice?

                                        C Offline
                                        C Offline
                                        CodesInChaoss
                                        wrote on 20 Feb 2024, 11:57 last edited by
                                        #41

                                        By the time I reconfigured everything, it turns our Creator is unable to attach due to ADB being in an 'incompatible state. Thus I'm best off restarting the PC...

                                        C 1 Reply Last reply 20 Feb 2024, 11:59
                                        0
                                        • C CodesInChaoss
                                          20 Feb 2024, 11:57

                                          By the time I reconfigured everything, it turns our Creator is unable to attach due to ADB being in an 'incompatible state. Thus I'm best off restarting the PC...

                                          C Offline
                                          C Offline
                                          CodesInChaoss
                                          wrote on 20 Feb 2024, 11:59 last edited by
                                          #42

                                          otherwise it would just remain stuck at ```
                                          D libGRIDNEToken_arm64-v8a.so: QML Debugger: Waiting for connection on port 51672...

                                          forever
                                          C 1 Reply Last reply 20 Feb 2024, 12:06
                                          0

                                          32/169

                                          20 Feb 2024, 11:26

                                          137 unread
                                          • Login

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