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. Debugging Android setup
Forum Updated to NodeBB v4.3 + New Features

Debugging Android setup

Scheduled Pinned Locked Moved Mobile and Embedded
5 Posts 3 Posters 1.7k Views 1 Watching
  • 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.
  • K Offline
    K Offline
    kloveridge
    wrote on last edited by
    #1

    I have a Nexus 7 device and my application runs great on it. But whenever I try to debug it, I get this error:

    @Connecting to remote server failed: Remote connection closed@

    If it doesn't hit a breakpoint, it will run fine. But if I put a breakpoint in, I get this error:

    @The gdb process terminated unexpectedly (code 0)@

    Just wondering if someone out there might have some information on how to setup the debugger. Iphone was pretty much plug and play.

    1 Reply Last reply
    0
    • L Offline
      L Offline
      LoPiTaL
      wrote on last edited by
      #2

      How have you solved this issue? I am facing the very same problem, and I am completely out of ideas.
      I have tried under Windows and under Ubuntu 14.04, and in both I face the same problem.

      Best regards,
      LoPiTaL

      1 Reply Last reply
      0
      • sierdzioS Offline
        sierdzioS Offline
        sierdzio
        Moderators
        wrote on last edited by
        #3

        You have turned on the developer mode and ADB debugging in your phones, right?

        (Z(:^

        1 Reply Last reply
        0
        • L Offline
          L Offline
          LoPiTaL
          wrote on last edited by
          #4

          Yes, that is all turned on.

          I have found a related bug in QtCreator already reported at
          https://bugreports.qt-project.org/browse/QTCREATORBUG-13006?focusedCommentId=260307&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-260307

          On it, I have tried the "workaround" commented by hjk, which solved completely my issue under Ubuntu. On Windows now it does not appear any error, but the debugger ignores all the breakpoints.

          I will try QtCreator3.3.0b1 and check if the problem is still there (probably not, since it is already marked as "Solved").

          Best regards,
          LoPiTaL

          1 Reply Last reply
          0
          • sierdzioS Offline
            sierdzioS Offline
            sierdzio
            Moderators
            wrote on last edited by
            #5

            Nice research, thanks for posting.

            (Z(:^

            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