Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Unsolved GDB can't find existing debug symbols Windows 10 Qt 5.15.0 MinGW 8.1.0 64-bit

    Installation and Deployment
    2
    2
    1342
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      potzblitz last edited by potzblitz

      I'm debugging my qml/c++ application using GDB and it basically works, i.e. it's hitting breakpoint etc..
      However, the debugger can't access most of the Qt debug symbols/sources.

      When the debugging session starts, I get these warnings:

      section .gnu_debuglink not found in C:\Qt\5.15.0\mingw81_64\plugins\platforms\qwindows.dll.debug
      section .gnu_debuglink not found in C:\Qt\5.15.0\mingw81_64\plugins\iconengines\qsvgicon.dll.debug
      section .gnu_debuglink not found in C:\Qt\5.15.0\mingw81_64\plugins\sqldrivers\qsqlite.dll.debug
      section .gnu_debuglink not found in C:\Qt\5.15.0\mingw81_64\plugins\qmltooling\qmldbg_server.dll.debug
      section .gnu_debuglink not found in C:\Qt\5.15.0\mingw81_64\plugins\qmltooling\qmldbg_server.dll.debug
      section .gnu_debuglink not found in C:\Qt\5.15.0\mingw81_64\plugins\qmltooling\qmldbg_debugger.dll.debug
      section .gnu_debuglink not found in C:\Qt\5.15.0\mingw81_64\plugins\qmltooling\qmldbg_inspector.dll.debug
      section .gnu_debuglink not found in C:\Qt\5.15.0\mingw81_64\plugins\qmltooling\qmldbg_messages.dll.debug
      section .gnu_debuglink not found in C:\Qt\5.15.0\mingw81_64\plugins\qmltooling\qmldbg_tcp.dll.debug
      ...

      I double-checked: These files do exist.

      The debugger can access, QQuickScrollView and QWindowsGuiEventDispatcher, for example, but not QObject.

      Im using Windows 10 and have a fresh install with these components:

      Qt 5.15.0

      • MinGW 8.1.0 64-bit
      • Sources
      • Qt Debug Information Files

      Developer and Designer Tools

      • Qt Creator 4.12.2
      • Qt Creator 4.12.2 CDB Debugger Support
      • Debugging Tools for Windows
      • MingWG 8.1.0 64-bit

      I registered the Qt Sources with Qt Creator (Tools->Options->Debugger->"Add Qt sources...")

      I've read all the "setting up debugger" articles I found, but couldn't find the answer. What am I missing?

      Update: I tried the same procedure with the MSVC2019 build and that works.

      1 Reply Last reply Reply Quote 2
      • J
        JackLilhammers last edited by

        I've the same isssue

        1 Reply Last reply Reply Quote 0
        • First post
          Last post