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

QmlProfiler: Attach to waiting does not work for 2nd run on the same app

    XMLWordPrintable

Details

    • Linux/X11
    • 4cee3c845cd9da5ddeb40fd03fdba7e0d0a32a3f (qt-creator/qt-creator/master)

    Description

      Steps to reproduce:

      • create a Qt Quick Application from scratch / template
      • build it & follow the instructions on how to set up the application to be waiting for the profiler to attach
        Note: It would be nice if one could copy the arguments for the app
      • trigger attach to waiting app
      • wait for the profiler gathering some data and stop it by using the stop button of the profiler
        • the app continues to run
      • try to attach again to the same app (without restarting it)
        • on the cmdline I'm getting lot's of
       SOFT ASSERT: "!isConnected()" in file /qtcreator/qt-creator/src/libs/qmldebug/qmldebugconnectionmanager.cpp, line 87

      but attaching does not work

      Note: attaching to another app or restarting the application before attaching again does work. So, not sure if this should be possible to do twice or more often without restarting the application.
      Nevertheless: if this cannot work it should be prevented.

       

       

      Attachments

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

        Activity

          People

            ulherman Ulf Hermann
            cstenger Christian Stenger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes