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. Breakpoints not working Qt Creator (Android)
Forum Updated to NodeBB v4.3 + New Features

Breakpoints not working Qt Creator (Android)

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
4 Posts 3 Posters 501 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.
  • B Offline
    B Offline
    bataviasw
    wrote on 6 Apr 2023, 19:54 last edited by bataviasw 4 Jun 2023, 19:55
    #1

    None of my breakpoints are working in Qt Creator after upgrading to Qt 6.5.0 (although I've unsuccessfully tried 6.4.3 as well) and the latest Qt Creator 10.0.0, they were working fine for Qt5 and an older NDK version.

    I've done the usual, clean the build (even deleting the build folder), done all the updates and I'm using all the JDK & SDK & NDK versions as per this webpage: https://doc.qt.io/qt-6/android-getting-started.html
    I'm definitely using the debug build ("CONFIG+=debug") but it seems to be a problem with adb or the debugger.
    It takes a long time to load the project and eventually I get a message saying "CONNECT: success adb://3071RF3001000670:5039 platform: remote-android True" but I still don't get any breakpoints triggered after that. It doesn't even break at main().

    Anyone else experiencing this issue?

    B 1 Reply Last reply 10 Apr 2023, 17:40
    0
    • B bataviasw
      6 Apr 2023, 19:54

      None of my breakpoints are working in Qt Creator after upgrading to Qt 6.5.0 (although I've unsuccessfully tried 6.4.3 as well) and the latest Qt Creator 10.0.0, they were working fine for Qt5 and an older NDK version.

      I've done the usual, clean the build (even deleting the build folder), done all the updates and I'm using all the JDK & SDK & NDK versions as per this webpage: https://doc.qt.io/qt-6/android-getting-started.html
      I'm definitely using the debug build ("CONFIG+=debug") but it seems to be a problem with adb or the debugger.
      It takes a long time to load the project and eventually I get a message saying "CONNECT: success adb://3071RF3001000670:5039 platform: remote-android True" but I still don't get any breakpoints triggered after that. It doesn't even break at main().

      Anyone else experiencing this issue?

      B Offline
      B Offline
      bataviasw
      wrote on 10 Apr 2023, 17:40 last edited by
      #2

      Just a follow up, breakpoints are still not working.
      I initially thought it was the firewall but it isn't, I tried a complete re-install of Qt, Android Studio, and JDK, still not hitting any breakpoints.
      The debugger is attaching though, I get debug output to the console and everything works fine on Windows, just not on Android. Kinda difficult developing code if you can't debug, very frustrating.

      1 Reply Last reply
      0
      • H Offline
        H Offline
        Husita
        wrote on 27 Apr 2023, 20:24 last edited by
        #3

        Same problem debugging android, Breakpoints were running on 6.3. but not on 6.5

        C 1 Reply Last reply 22 Feb 2024, 09:08
        0
        • H Husita
          27 Apr 2023, 20:24

          Same problem debugging android, Breakpoints were running on 6.3. but not on 6.5

          C Offline
          C Offline
          CodesInChaoss
          wrote on 22 Feb 2024, 09:08 last edited by
          #4

          @Husita

          is this project (QT Creator ) really DEAD for android? Any public statement on this?

          1 Reply Last reply
          0

          • Login

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