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

Debugger keeps waiting for connection when using both C++ & QML debugging.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: Qt Creator 4.2.1
    • Fix Version/s: Qt Creator 4.2.2
    • Component/s: Android Support
    • Labels:
      None
    • Environment:
      NDK 13b, macOS/Linux/Windows

      Description

      Timing issue, doesn't happens all the time.
      Individual c++ and QML debugging works fine.

      Relevant debugger log:

      ALL COMMANDS DONE; INVOKING CALLBACK
      NOTE: INFERIOR SETUP OK
      State changed from InferiorSetupRequested(4) to InferiorSetupOk(6)
      NOTE: INFERIOR SETUP OK
      State changed from InferiorSetupRequested(4) to InferiorSetupOk(6) [master]
      State changed from InferiorSetupOk(6) to EngineRunRequested(7) [master]
      QUEUE: RUN ENGINE
      
      CALL: RUN ENGINE
      State changed from InferiorSetupOk(6) to EngineRunRequested(7)
      QUEUE: RUN ENGINE
      State changed from InferiorSetupOk(6) to EngineRunRequested(7)
      QUEUE: RUN ENGINE
      NOTE: REMOTE SETUP DONE: GDB SERVER PORT: 5039  QML PORT 55343
      NOTE: REMOTE SETUP DONE: GDB SERVER PORT: 5039  QML PORT 55343
      NOTE: REMOTE SETUP DONE: GDB SERVER PORT: 5039  QML PORT 55343
      NOTE: ENGINE SETUP OK
      State changed from EngineRunRequested(7) to EngineSetupOk(3)
      QUEUE: SETUP INFERIOR
      CALL: RUN ENGINE
      CALL: RUN ENGINE
      NOTE: ENGINE RUN AND INFERIOR STOP OK
      Stopped.
      State changed from EngineRunRequested(7) to InferiorStopOk(14)
      NOTE: ENGINE RUN AND INFERIOR STOP OK
      Stopped.
      State changed from EngineRunRequested(7) to InferiorStopOk(14) [master]
      NOTE: INFERIOR RUN REQUESTED
      Run requested...
      State changed from InferiorStopOk(14) to InferiorRunRequested(10)
      NOTE: INFERIOR RUN REQUESTED
      Run requested...
      State changed from InferiorStopOk(14) to InferiorRunRequested(10) [master]
      Running requested...
      <88-exec-continue
      >88^running
      NOTE: INFERIOR RUN OK
      Running.
      State changed from InferiorRunRequested(10) to InferiorRunOk(11)
      NOTE: INFERIOR RUN OK
      Running.
      State changed from InferiorRunRequested(10) to InferiorRunOk(11) [master]
      >*running,thread-id="all"
      NOTE: INFERIOR STILL RUNNING IN STATE InferiorRunOk.
      
      
      >&"p 0\n"
      >~"$1 = 0"
      >~"\n"
      >^done
      
       I/Qt JAVA ( 2388): DEBUGGER: Incoming socket OK
       I/Qt JAVA ( 2388): DEBUGGER: Got pid acknowledgment
       I/Qt JAVA ( 2388): DEBUGGER: ping not requested
       I/Qt JAVA ( 2388): DEBUGGER: pong not requested
       D/OpenGLRenderer( 2388): Render dirty regions requested: true
       D/        ( 2388): HostConnection::get() New Host Connection established 0xa502d588, tid 2388
       D/Atlas   ( 2388): Validating map...
      
       D/        ( 2388): HostConnection::get() New Host Connection established 0xa5013768, tid 2413
       I/OpenGLRenderer( 2388): Initialized EGL, version 1.4
       D/OpenGLRenderer( 2388): Enabling debug mode 0
      
       D/libtestDepl.so( 2388): (null):0 ((null)): QML Debugger: Waiting for connection on port 55343...
      

        Attachments

          Issue Links

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

            Activity

              People

              • Assignee:
                vikas Vikas Pachdha
                Reporter:
                vikas Vikas Pachdha
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes