Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. ObjectiveC types in QtCreator LLDB debugger
Forum Updated to NodeBB v4.3 + New Features

ObjectiveC types in QtCreator LLDB debugger

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
2 Posts 2 Posters 290 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
    mishathai
    wrote on last edited by
    #1

    Hello
    I am trying to debug ObjectiveC code with the latest QtCreator using LLDB.
    I see that the debugger "Locals" window displays only "Values" of simple C types like int or double. But values of simple ObjectiveC types like NSString or NSNumber cannot be viewed in the debugger window - I see something like "@2fe3452232" instead.
    What am I doing wrong? How to restore that LLDB functionality?

    1 Reply Last reply
    0
    • cristian-adamC Online
      cristian-adamC Online
      cristian-adam
      wrote on last edited by
      #2

      I couldn't find any reference to NSString or NSNumber at https://code.qt.io/cgit/qt-creator/qt-creator.git/tree/share/qtcreator/debugger

      I would suggest opening a bug report at https://bugreports.qt.io/secure/CreateIssue.jspa?pid=10512

      Alternatively you can configure a LLDB-DAP debugger for your Kit. This would bypass the Qt dumpers and use only the dumpers from LLDB, which might include the Objective C types.

      See https://www.qt.io/blog/qt-creator-14-cmake-update on how to register a debugger via CMake Presets. Currently that's the only way to enable a LLDB-DAP debugger (debugger type 1024).

      1 Reply Last reply
      3

      • Login

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