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)
QtWS25 Last Chance

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

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
169 Posts 9 Posters 61.2k 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, 09:14

    @CodesInChaoss cd722ece-94b5-409d-b49e-3f0ba3d782c3-image.png

    C Offline
    C Offline
    CodesInChaoss
    wrote on 25 Feb 2024, 09:15 last edited by
    #101

    @CodesInChaoss 8cf99d2d-c287-4ad8-8ca2-818055b24355-image.png

    C 1 Reply Last reply 25 Feb 2024, 09:19
    0
    • C CodesInChaoss
      25 Feb 2024, 09:15

      @CodesInChaoss 8cf99d2d-c287-4ad8-8ca2-818055b24355-image.png

      C Offline
      C Offline
      CodesInChaoss
      wrote on 25 Feb 2024, 09:19 last edited by
      #102

      @CodesInChaoss d7ef85e8-d162-474c-95d8-fc6da65fcf44-image.png

      so we've downloaded by hand; looking good;

      but

      The Kits... not so much...
      3f70272c-aed7-46e1-af26-9a4813c047cd-image.png

      C 1 Reply Last reply 25 Feb 2024, 09:21
      0
      • C CodesInChaoss
        25 Feb 2024, 09:19

        @CodesInChaoss d7ef85e8-d162-474c-95d8-fc6da65fcf44-image.png

        so we've downloaded by hand; looking good;

        but

        The Kits... not so much...
        3f70272c-aed7-46e1-af26-9a4813c047cd-image.png

        C Offline
        C Offline
        CodesInChaoss
        wrote on 25 Feb 2024, 09:21 last edited by
        #103

        Restarting QT Creator help for the kits to properly initialize:
        50209866-7ff2-4f1c-88df-c0c6562a150b-image.png

        now the only warning is that a device is missing.. well because it's missing as of now

        C 1 Reply Last reply 25 Feb 2024, 09:24
        0
        • C CodesInChaoss
          25 Feb 2024, 09:21

          Restarting QT Creator help for the kits to properly initialize:
          50209866-7ff2-4f1c-88df-c0c6562a150b-image.png

          now the only warning is that a device is missing.. well because it's missing as of now

          C Offline
          C Offline
          CodesInChaoss
          wrote on 25 Feb 2024, 09:24 last edited by
          #104

          @CodesInChaoss

          57b864af-f1a1-453b-b66b-b0e7cc14c147-image.png

          We've got a single Multi-Abi kit, let's look inside

          5ddf384e-6a36-4e6b-a20e-25d032b3268f-image.png

          same settings as on Windows.

          we would switch compiler to aarch64, which we believe should be by default by now. Few 32 bit devices around.

          Now the question.. on Linux... we should be after LLDB correct? not gdb

          it's the freedom oriented realm where all the Linux level latest goodies are expected to shine, right?

          Let the Microsoft burdens be upon us no more.

          Fingers crossed.

          let's try to debug.

          C 1 Reply Last reply 25 Feb 2024, 09:38
          0
          • C CodesInChaoss
            25 Feb 2024, 09:24

            @CodesInChaoss

            57b864af-f1a1-453b-b66b-b0e7cc14c147-image.png

            We've got a single Multi-Abi kit, let's look inside

            5ddf384e-6a36-4e6b-a20e-25d032b3268f-image.png

            same settings as on Windows.

            we would switch compiler to aarch64, which we believe should be by default by now. Few 32 bit devices around.

            Now the question.. on Linux... we should be after LLDB correct? not gdb

            it's the freedom oriented realm where all the Linux level latest goodies are expected to shine, right?

            Let the Microsoft burdens be upon us no more.

            Fingers crossed.

            let's try to debug.

            C Offline
            C Offline
            CodesInChaoss
            wrote on 25 Feb 2024, 09:38 last edited by
            #105

            @CodesInChaoss 7e1b6807-4752-444f-a28b-6a00ff1ff0d9-image.png

            eh.. it's been long since I've seen password field neither encrypted nor 'asterixed'...

            C 1 Reply Last reply 25 Feb 2024, 10:09
            0
            • C CodesInChaoss
              25 Feb 2024, 09:38

              @CodesInChaoss 7e1b6807-4752-444f-a28b-6a00ff1ff0d9-image.png

              eh.. it's been long since I've seen password field neither encrypted nor 'asterixed'...

              C Offline
              C Offline
              CodesInChaoss
              wrote on 25 Feb 2024, 10:09 last edited by
              #106

              Yet another bug
              f3bd6d2c-a3bb-4865-ada3-96a754971acf-image.png

              Subversion sub-system would recognize that the 'svn' command might not be available and indicate in red.

              When subversion is installed on system it would be red no more... but QT Creator 12 would still deem the sub-version NOT TO BE CONFIGURED.

              No error message. 'svn' in red NO MORE.

              only once user provided an explicit absolute path would Creator assume SVN to be configured and shown the -subversion- sub-menu in Tools.

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

                Yet another bug
                f3bd6d2c-a3bb-4865-ada3-96a754971acf-image.png

                Subversion sub-system would recognize that the 'svn' command might not be available and indicate in red.

                When subversion is installed on system it would be red no more... but QT Creator 12 would still deem the sub-version NOT TO BE CONFIGURED.

                No error message. 'svn' in red NO MORE.

                only once user provided an explicit absolute path would Creator assume SVN to be configured and shown the -subversion- sub-menu in Tools.

                C Offline
                C Offline
                CodesInChaoss
                wrote on 25 Feb 2024, 11:32 last edited by
                #107

                Even on Linux, after a single restart of the machine the Debugger settings within of a Kit - these were GONE.

                haven't tried to debug yet.

                C 1 Reply Last reply 25 Feb 2024, 11:33
                0
                • C CodesInChaoss
                  25 Feb 2024, 11:32

                  Even on Linux, after a single restart of the machine the Debugger settings within of a Kit - these were GONE.

                  haven't tried to debug yet.

                  C Offline
                  C Offline
                  CodesInChaoss
                  wrote on 25 Feb 2024, 11:33 last edited by
                  #108

                  @CodesInChaoss d5918b25-c4d2-4b31-8935-0449ccde65c8-image.png

                  no idea what it's about?

                  C 1 Reply Last reply 25 Feb 2024, 11:36
                  0
                  • C CodesInChaoss
                    25 Feb 2024, 11:33

                    @CodesInChaoss d5918b25-c4d2-4b31-8935-0449ccde65c8-image.png

                    no idea what it's about?

                    C Offline
                    C Offline
                    CodesInChaoss
                    wrote on 25 Feb 2024, 11:36 last edited by
                    #109

                    @CodesInChaoss it's f*** nightmare the QT experience coooome oonnnnn..

                    C 1 Reply Last reply 25 Feb 2024, 11:39
                    0
                    • C CodesInChaoss
                      25 Feb 2024, 11:36

                      @CodesInChaoss it's f*** nightmare the QT experience coooome oonnnnn..

                      C Offline
                      C Offline
                      CodesInChaoss
                      wrote on 25 Feb 2024, 11:39 last edited by
                      #110

                      @CodesInChaoss 0f312156-360a-4cf4-bebf-238ef4c688c1-image.png

                      the above helped

                      1. install dos2unix
                      2. cd android && dos2unix ./gradlew

                      (...)) f**** !

                      C 1 Reply Last reply 25 Feb 2024, 11:40
                      0
                      • C CodesInChaoss
                        25 Feb 2024, 11:39

                        @CodesInChaoss 0f312156-360a-4cf4-bebf-238ef4c688c1-image.png

                        the above helped

                        1. install dos2unix
                        2. cd android && dos2unix ./gradlew

                        (...)) f**** !

                        C Offline
                        C Offline
                        CodesInChaoss
                        wrote on 25 Feb 2024, 11:40 last edited by
                        #111

                        @CodesInChaoss f398d40e-a74c-4a59-a1f2-675599c2a9db-image.png
                        at least now it compiled (..)

                        Now.. to debug.. over a network... DO I DARE?

                        C 1 Reply Last reply 25 Feb 2024, 12:32
                        0
                        • C CodesInChaoss
                          25 Feb 2024, 11:40

                          @CodesInChaoss f398d40e-a74c-4a59-a1f2-675599c2a9db-image.png
                          at least now it compiled (..)

                          Now.. to debug.. over a network... DO I DARE?

                          C Offline
                          C Offline
                          CodesInChaoss
                          wrote on 25 Feb 2024, 12:32 last edited by
                          #112

                          @CodesInChaoss fdcd0df0-6ff0-4878-97cb-4afb50a57300-image.png

                          "could not determine debugger type"

                          Now what the heck is that

                          C 1 Reply Last reply 25 Feb 2024, 12:34
                          0
                          • C CodesInChaoss
                            25 Feb 2024, 12:32

                            @CodesInChaoss fdcd0df0-6ff0-4878-97cb-4afb50a57300-image.png

                            "could not determine debugger type"

                            Now what the heck is that

                            C Offline
                            C Offline
                            CodesInChaoss
                            wrote on 25 Feb 2024, 12:34 last edited by
                            #113

                            https://stackoverflow.com/questions/75659675/qt-creator-could-not-determine-debugger-type-android-debugger

                            come one.... this has beeen YEARS AGO...

                            I've just f trying to DEBUG here....

                            C 1 Reply Last reply 25 Feb 2024, 12:39
                            0
                            • C CodesInChaoss
                              25 Feb 2024, 12:34

                              https://stackoverflow.com/questions/75659675/qt-creator-could-not-determine-debugger-type-android-debugger

                              come one.... this has beeen YEARS AGO...

                              I've just f trying to DEBUG here....

                              C Offline
                              C Offline
                              CodesInChaoss
                              wrote on 25 Feb 2024, 12:39 last edited by
                              #114

                              @CodesInChaoss ON Linux QT Creator 12 keeps toggling off and off and meessing up with debugger settings same as on Windows

                              C 1 Reply Last reply 25 Feb 2024, 12:46
                              0
                              • C CodesInChaoss
                                25 Feb 2024, 12:39

                                @CodesInChaoss ON Linux QT Creator 12 keeps toggling off and off and meessing up with debugger settings same as on Windows

                                C Offline
                                C Offline
                                CodesInChaoss
                                wrote on 25 Feb 2024, 12:46 last edited by
                                #115

                                @CodesInChaoss

                                I CANT DEBUG SHIT.

                                IT"S NOT RELATED TO MY APP.

                                I"VE JUST TRIED DEBUGGING AND DEPLOYG SAMPLE CLOCK APPLICATION>

                                BREAKPOINTS DO NOT WORK.

                                WJHAT DO I DO.

                                C 1 Reply Last reply 25 Feb 2024, 12:49
                                0
                                • C CodesInChaoss
                                  25 Feb 2024, 12:46

                                  @CodesInChaoss

                                  I CANT DEBUG SHIT.

                                  IT"S NOT RELATED TO MY APP.

                                  I"VE JUST TRIED DEBUGGING AND DEPLOYG SAMPLE CLOCK APPLICATION>

                                  BREAKPOINTS DO NOT WORK.

                                  WJHAT DO I DO.

                                  C Offline
                                  C Offline
                                  CodesInChaoss
                                  wrote on 25 Feb 2024, 12:49 last edited by
                                  #116

                                  by the way the most recent issue was resolved by ```
                                  apt install libncurses5

                                  C 1 Reply Last reply 25 Feb 2024, 13:00
                                  0
                                  • C CodesInChaoss
                                    25 Feb 2024, 12:49

                                    by the way the most recent issue was resolved by ```
                                    apt install libncurses5

                                    C Offline
                                    C Offline
                                    CodesInChaoss
                                    wrote on 25 Feb 2024, 13:00 last edited by
                                    #117

                                    @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 1 Reply Last reply 25 Feb 2024, 13:01
                                    0
                                    • 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

                                          110/169

                                          25 Feb 2024, 11:39

                                          • Login

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