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

Debugging type c++ and QML makes the application to go to non responsive state and assertion statements are seen on terminal.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • Qt Creator 2.4.0
    • Qt Creator 2.3.1
    • Qt Creator 2.3.1

      Based on Qt 4.7.4 (32 bit)

      Built on Sep 21 2011 at 11:16:49

      From revision f184ced2e1

    Description

      Description

      Preconditions:
      qtsdkinstaller-x32-2011-09-26-Ubuntu8.04.4LTS.run 2011-Sep-26 14:05:45

      Make a default installation using the above mentioned installer on natty32 and follow steps till end.

      – Device flashed using Linux_OCF_34-2_EMMC_RM680-OEM1-916.bin

      • Communication between device and qtcreator should be working.

      Steps:

      Create a harmattan application using template and launch it against simulator.

      File - New Project - Qt Quick - Qt quick application - qt quick components for harmattan/meego and follow the steps till end for simulator target selected.

      • Keep a break point at any place in the code snippet of cpp and qml files
        Break points are set at

      viewer->showExpanded(); in main.cpp
      onClicked: (myMenu.status == DialogStatus.Closed) ? myMenu.open() : myMenu.close() - main.qml

      • Enable qml debugging in Build settings of the project and select Debugging type as - C++ and QML in run settings.
      • Launch the application in debug mode against the device.

      Expected output:
      All the breakpoints are hit when launched on device.

      Actual output.
      Cpp breakpoints are ignored only breakpoints in qml are hit.Application goes to non responsive state and below output is noticed on terminal.

      QPixmap::handle(): Pixmap is not an X11 class pixmap
      QPixmap::handle(): Pixmap is not an X11 class pixmap
      QPixmap::handle(): Pixmap is not an X11 class pixmap

          • UNEXPECTED STATE TRANSITION: Debugger::Internal::GdbEngine(0x9b88548, name = "GdbEngine") "State changed from InferiorStopRequested(13) to InferiorExitOk(16)."
            ATTEMPTING TO QUEUE COMMAND "-gdb-exit" IN INAPPROPRIATE STATE EngineShutdownRequested
            QPixmap::handle(): Pixmap is not an X11 class pixmap
            QPixmap::handle(): Pixmap is not an X11 class pixmap
          • UNEXPECTED STATE TRANSITION: Debugger::Internal::QmlCppEngine(0x84ad890, name = "QmlCppEngine") "State changed from EngineShutdownRequested(20) to EngineShutdownRequested(20)."
            ASSERTION isAllowedTransition(state(),EngineShutdownRequested) FAILED AT ../../../../creator/src/plugins/debugger/debuggerengine.cpp:983
          • UNEXPECTED STATE TRANSITION: Debugger::Internal::QmlEngine(0x84b73a0, name = "QmlEngine") "State changed from DebuggerFinished(23) to EngineShutdownRequested(20)."
            ASSERTION isAllowedTransition(state(),EngineShutdownRequested) FAILED AT ../../../../creator/src/plugins/debugger/debuggerengine.cpp:983
          • UNEXPECTED STATE TRANSITION: Debugger::Internal::GdbEngine(0x9b88548, name = "GdbEngine") "State changed from EngineShutdownRequested(20) to EngineShutdownRequested(20)."
            ATTEMPTING TO QUEUE COMMAND "-gdb-exit" IN INAPPROPRIATE STATE EngineShutdownRequested
            ^C
            tester@natty32:~/QtSDK/QtCreator/bin$

      FYI: if the same breakpoints are kept and individual c++ or qml debugging type is selected then respective break points are hit.

      Attachments

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

        Activity

          People

            kkohne Kai Köhne
            tpunagan Tulasi Punaganti
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes