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

QML debugging issue with Boot to Qt on macOS

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • Qt Creator 14.0.2, Qt Creator 15.0.0-beta1, Qt Creator 15.0.0-rc1
    • Boot2Qt Support , Debugger

    Description

      Steps to reproduce:

      • Install docker desktop and run it before launching installer
      • Install Boot to Qt toolchain (6.8.0 used) and QtCreator 14.02 or 15.0.0 beta1 to macOS
      • do the usual device setup stuff and enable debugging/profiling from QtC Projects -> Build Settings
      • open a QML application and set a  QML break point
      • start debugging
      • "Step over" twice

      Expected result:

      Debugger stops to break point and no errors shown.

      Actual result:

      Debugger stops at break point but Application Output shows:

      13:41:35: Debugging ssh://root@10.204.0.99/opt/quickapp -qmljsdebugger=port:10001,block,services:DebugMessages,QmlDebugger,V8Debugger,QmlInspector,DebugTranslation ...
      "QTWEBENGINE_DISABLE_SANDBOX" "1"
      "QT_IM_MODULE" "qtvirtualkeyboard"
      "QT_QPA_PLATFORM" "eglfs"
      "WAYLAND_DISPLAY" "/run/wayland-0"
      "gdbserver" QList("localhost:10000", "/opt/quickapp", "-qmljsdebugger=port:10001,block,services:DebugMessages,QmlDebugger,V8Debugger,QmlInspector,DebugTranslation")
      Process /opt/quickapp created; pid = 6012
      Listening on port 10000
      index cache: could not make cache directory: Permission denied
      Remote debugging from host ::ffff:10.12.20.61, port 64795
      Unable to find dynamic linker breakpoint function.
      GDB will be unable to debug shared library initializers
      and track explicitly loaded dynamic code.Could not load shared library symbols for /lib/ld-linux-x86-64.so.2.
      Do you need "set solib-search-path" or "set sysroot"?QML debugging is enabled. Only use this in a safe environment.
      QML Debugger: Waiting for connection on port 10001...
      index cache: could not make cache directory: Permission denied
      index cache: could not make cache directory: Permission denied
      could not convert 'QGuiApplication' from the host encoding (UTF-8) to UTF-32.
      This normally should not happen, please file a bug report.

      See the screenshot attached.

      Attachments

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

        Activity

          People

            con Eike Ziller
            mipohjan Milla Pohjanheimo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes