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

Wizard created new Qt Quick application won't debug C++ nor QML with LLDB

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P1: Critical
    • None
    • Qt Creator 8.0.0-rc1
    • Android Support, Debugger
    • None
    • Android

    Description

      Ubuntu 20.04, Qt Creator 8.0.1 RC, Android target devices Android 7 Huawei Honor and Android 11 1+7T and Qt 6.4.0 Beta 2 manual testing. Android QC settings: jdk-13.0.2,
      NDK 23.1.7779620 (also NDK 22.1.7171670 installed) and Android SDK version 7.0

      C++ debug does not work with Android (at least arm64-v8a), on desktop host it works fine.

      Debugger: /home/myuserid/Android/Sdk/ndk/23.1.7779620/toolchains/llvm/prebuilt/linux-x86_64/bin/lldb

       

      CONNECT: success adb://35f03954:5039 platform: remote-android True
      dNOTE: ENGINE RUN AND INFERIOR STOP OK
       Stopped.
      dState changed from EngineRunRequested(3) to InferiorStopOk(10)
      dNOTE: INFERIOR RUN REQUESTED
       Run requested...
      dState changed from InferiorStopOk(10) to InferiorRunRequested(6)
      <296continueInferior({"token":296})
      >@
      >event={type="1",data="0x23e45e0 Event: broadcaster = 0x23e8560 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x23e8528 (pid = 10572), state = connected}",msg="None",flavor="Process::ProcessEventData",state="connected",bp="No value"}@
      >@
      >state="connected"@
      >(lldb) script theDumper.continueInferior({"token":296})
      >@
      >result={token="296",success="1",error={type="0",code="0",desc="success"}}@
      >296^
      >@
      >event={type="1",data="0x2135d80 Event: broadcaster = 0x23e8560 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x23e8528 (pid = 10572), state = running}",msg="None",flavor="Process::ProcessEventData",state="running",bp="No value"}@
      >@
      >state="running"@
      dNOTE: INFERIOR RUN OK
       Running.
      dState changed from InferiorRunRequested(6) to InferiorRunOk(7)
      >@
      >event={type="1",data="0x7f8c9c0266b0 Event: broadcaster = 0x23e8560 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x23e8528 (pid = 10572), state = stopped}",msg="None",flavor="Process::ProcessEventData",state="stopped",bp="No value"}@
      >@
      >state="stopped"@
      dNOTE: INFERIOR SPONTANEOUS STOP
       Stopped.
      dState changed from InferiorRunOk(7) to InferiorStopOk(10)
      <297fetchThreads({"token":297})
      >@
      >event={type="1",data="0x7f8c47d68e10 Event: broadcaster = 0x23e8560 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x23e8528 (pid = 10572), state = running}",msg="None",flavor="Process::ProcessEventData",state="running",bp="No value"}@
      >@
      >state="running"@
      dNOTE: INFERIOR RUN OK
       Running.
      dState changed from InferiorStopOk(10) to InferiorRunOk(7)
      >(lldb) script theDumper.fetchThreads({"token":297})
      >@
      >result={token="297",threads=[{id="10572",index="0",details="None",stop-reason="invalid",state="unknown",name="None",frame={pc="0xffffffffffffffff",addr="0xffffffffffffffff",fp="0xffffffffffffffff",func="None",line="0",fullname="",file=""}},{id="14575",index="1",details="None",stop-reason="invalid",state="unknown",name="None",frame={pc="0xffffffffffffffff",addr="0xffffffffffffffff",fp="0xffffffffffffffff",func="None",line="0",fullname="",file=""}},{id="14576",index="2",details="None",stop-reason="invalid",state="unknown",name="None",frame={pc="0xffffffffffffffff",addr="0xffffffffffffffff",fp="0xffffffffffffffff",func="None",line="0",fullname="",file=""}},{id="14577",index="3",details="None",stop-reason="invalid",state="unknown",name="None",frame={pc="0xffffffffffffffff",addr="0xffffffffffffffff",fp="0xffffffffffffffff",func="None",line="0",fullname="",file=""}},{id="14578",index="4",details="None",stop-reason="invalid",state="unknown",name="None",frame={pc="0xffffffffffffffff",addr="0xffffffffffffffff",fp="0xffffffffffffffff",func="None",line="0",fullname="",file=""}},{id="14579",index="5",details="None",stop-reason="invalid",state="unknown",name="None",frame={pc="0xffffffffffffffff",addr="0xffffffffffffffff",fp="0xffffffffffffffff",func="None",line="0",fullname="",file=""}},{id="14580",index="6",details="None",stop-reason="invalid",state="unknown",name="None",frame={pc="0xffffffffffffffff",addr="0xffffffffffffffff",fp="0xffffffffffffffff",func="None",line="0",fullname="",file=""}},{id="14581",index="7",details="None",stop-reason="invalid",state="unknown",name="None",frame={pc="0xffffffffffffffff",addr="0xffffffffffffffff",fp="0xffffffffffffffff",func="None",line="0",fullname="",file=""}},{id="14593",index="8",details="None",stop-reason="invalid",state="unknown",name="None",frame={pc="0xffffffffffffffff",addr="0xffffffffffffffff",fp="0xffffffffffffffff",func="None",line="0",fullname="",file=""}},{id="14594",index="9",details="None",stop-reason="invalid",state="unknown",name="None",frame={pc="0xffffffffffffffff",addr="0xffffffffffffffff",fp="0xffffffffffffffff",func="None",line="0",fullname="",file=""}},{id="14595",index="10",details="None",stop-reason="invalid",state="unknown",name="None",frame={pc="0xffffffffffffffff",addr="0xffffffffffffffff",fp="0xffffffffffffffff",func="None",line="0",fullname="",file=""}},{id="14596",index="11",details="None",stop-reason="invalid",state="unknown",name="None",frame={pc="0xffffffffffffffff",addr="0xffffffffffffffff",fp="0xffffffffffffffff",func="None",line="0",fullname="",file=""}},{id="14606",index="12",details="None",stop-reason="invalid",state="unknown",name="None",frame={pc="0xffffffffffffffff",addr="0xffffffffffffffff",fp="0xffffffffffffffff",func="None",line="0",fullname="",file=""}},{id="14608",index="13",details="None",stop-reason="invalid",state="unknown",name="None",frame={pc="0xffffffffffffffff",addr="0xffffffffffffffff",fp="0xffffffffffffffff",func="None",line="0",fullname="",file=""}},{id="14609",index="14",details="None",stop-reason="invalid",state="unknown",name="None",frame={pc="0xffffffffffffffff",addr="0xffffffffffffffff",fp="0xffffffffffffffff",func="None",line="0",fullname="",file=""}},{id="14612",index="15",details="None",stop-reason="invalid",state="unknown",name="None",frame={pc="0xffffffffffffffff",addr="0xffffffffffffffff",fp="0xffffffffffffffff",func="None",line="0",fullname="",file=""}},{id="14619",index="16",details="None",stop-reason="invalid",state="unknown",name="None",frame={pc="0xffffffffffffffff",addr="0xffffffffffffffff",fp="0xffffffffffffffff",func="None",line="0",fullname="",file=""}},{id="14620",index="17",details="None",stop-reason="invalid",state="unknown",name="None",frame={pc="0xffffffffffffffff",addr="0xffffffffffffffff",fp="0xffffffffffffffff",func="None",line="0",fullname="",file=""}},{id="14633",index="18",details="None",stop-reason="invalid",state="unknown",name="None",frame={pc="0xffffffffffffffff",addr="0xffffffffffffffff",fp="0xffffffffffffffff",func="None",line="0",fullname="",file=""}},{id="14634",index="19",details="None",stop-reason="invalid",state="unknown",name="None",frame={pc="0xffffffffffffffff",addr="0xffffffffffffffff",fp="0xffffffffffffffff",func="None",line="0",fullname="",file=""}},{id="14635",index="20",details="None",stop-reason="invalid",state="unknown",name="None",frame={pc="0xffffffffffffffff",addr="0xffffffffffffffff",fp="0xffffffffffffffff",func="None",line="0",fullname="",file=""}},{id="14638",index="21",details="None",stop-reason="invalid",state="unknown",name="None",frame={pc="0xffffffffffffffff",addr="0xffffffffffffffff",fp="0xffffffffffffffff",func="None",line="0",fullname="",file=""}},],current-thread-id="10572"}@
      >297^
      <298fetchStack({"context":"","extraqml":0,"nativemixed":0,"stacklimit":20,"token":298})
      >(lldb) script theDumper.fetchStack({"context":"","extraqml":0,"nativemixed":0,"stacklimit":20,"token":298})
      >@
      >result={token="298",msg="No thread"}@
      

       

      Attachments

        Issue Links

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

          Activity

            People

              portale Alessandro Portale
              rampe Rami Potinkara
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes