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

Can not debug C++ code

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: Not Evaluated
    • Resolution: Unresolved
    • Affects Version/s: Qt Creator 5.0.3, Qt Creator 6.0.0-beta2
    • Fix Version/s: None
    • Component/s: Android Support
    • Labels:
      None
    • Environment:
      Arch LInux with 5.14 kernel
      QtCreator 5.0.3/6.0.0-beta2
      NDK 21.3.6528147, also tried with 20.1.5948944, 22.1.7171670
      Qt 5.15.2
      I am targeting Android 11 on official image, and Android 11 on real device.
    • Platform/s:
      Android

      Description

      I am creating an empty CMake/QtQuick project and then run Debug build with it. What I expecting is that breakpoint at the beginning of a main function will be reached at some point, but that isn't happening.
      If I add Component.onCompleted block in the QML side with a log, it is working as expected and I can even hit a breakpoint there.

      I have attache some logs from debugger window. I have tried to update/downgrade QtCreator, NDK, gdb, python, but without any significant changes.

        Attachments

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

          Activity

            People

            Assignee:
            portale Alessandro Portale
            Reporter:
            bialasjaroslaw Jarek Białas
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes