Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. GDB can't find existing debug symbols Windows 10 Qt 5.15.0 MinGW 8.1.0 64-bit
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
2 Posts 2 Posters 1.8k Views
  • 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 Offline
    P Offline
    potzblitz
    wrote on last edited by potzblitz
    #1

    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
    2
    • J Offline
      J Offline
      JackLilhammers
      wrote on last edited by
      #2

      I've the same isssue

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved