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

Breakpoints in shared libraries does not work under Android

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • Qt Creator 6.0.2
    • Qt Creator 4.15.1
    • Debugger
    • None
    • Android

    Description

      When debugging an Android program, debugger stops on breakpoints in the main program, but fails to stop on breakpoints located in shared libraries (.so files). Those breakpoints are shown with an hourglass mark and they do not stop program execution.

       

      After some investigation, I see that "solib-search-path" only contains root build folder (C:/.../build-myproject-Android-Debug), but does not contain the sub-folder where shared libraries are (C:/.../build-myproject-Android-Debug/android-build/libs/armeabi-v7a). If I manually add this folder to the "solib-search-path" (from the "Debugger log" view), then breakpoints start working.

       

      Any workaround (setting in Tools/Options) to have this be set automatically would be appreciated because setting it manually for every debugger session is a real pain...

      Attachments

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

        Activity

          People

            portale Alessandro Portale
            jpo38 Jean Porcherot
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes