Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Debugging Qt with LLDB on macOS
Forum Updated to NodeBB v4.3 + New Features

Debugging Qt with LLDB on macOS

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 526 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.
  • M Offline
    M Offline
    martinvej
    wrote on last edited by martinvej
    #1

    Hi, I'm trying to debug Qt while using the provided macOS installer frameworks.
    I am aware of an issue with DYLD_IMAGE_SUFFIX on macOS as described here: https://bugreports.qt.io/browse/QTCREATORBUG-15439 and https://bugreports.qt.io/browse/QTBUG-31724

    In the JIRA issue above, I can only see a resolution for Qt Creator, but I'm wondering about how one should go about debugging the frameworks with the shell command.

    Example:

    lldb
    >env DYLD_IMAGE_SUFFIX=_debug
    >target create QtWidgets.framework
    >warning: (x86_64) /Users/randomuser/Qt5.10.0/5.10.0/clang_64/lib/QtWidgets.framework/QtWidgets empty dSYM file detected, dSYM was created with an executable with no debug info.
    >Current executable set to 'QtWidgets.framework' (x86_64).
    

    Any help would be greatly appreciated, thanks!

    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