Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-13006

Android: Problems debugging on Linux

    XMLWordPrintable

Details

    • 3bafbe710f1e1745c0a70031cd1a6a2350addc5f

    Description

      With the current Qt 5.3.2 package on Linux, when I try debugging an application and breaking, either by breakpoint or pressing pause, I get the following error message: "Connecting to remote server failed: Remote communication error. Target disconnected: Connection reset by peer"

      In the console, I have numerous repetition of the following warnings:

      	
      
          *** UNEXPECTED STATE TRANSITION:  Debugger::Internal::GdbRemoteServerEngine(0xa9f1378, name = "GdbEngine") "State changed from InferiorRunRequested(10) to EngineSetupOk(3) [master]"
          SOFT ASSERT: "state() == InferiorRunRequested" in file /work/build/qtsdk/qt-creator/src/plugins/debugger/gdb/gdbengine.cpp, line 1799
          InferiorSetupRequested
          SOFT ASSERT: "state() == InferiorRunRequested || state() == InferiorStopOk || state() == InferiorStopRequested" in file /work/build/qtsdk/qt-creator/src/plugins/debugger/debuggerengine.cpp, line 914
          Debugger::Internal::GdbRemoteServerEngine(0xa9f1378, name = "GdbEngine") InferiorSetupRequested
      

      This is the full debugger log: http://pastebin.com/9Pi9ASR0

      Note that this used to work on Linux with the same NDK (r9d) and when I try debugging with breakpoints on the same device using the current Qt 5.3.2 package on Windows, it works fine.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            hjk hjk
            esabraha Eskil Abrahamsen Blomfeldt
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes