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. Showing the contents of the d pointers during debugging

Showing the contents of the d pointers during debugging

Scheduled Pinned Locked Moved Unsolved General and Desktop
gdbdebugger
2 Posts 1 Posters 1.3k 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
    martonmiklos
    wrote on last edited by
    #1

    I am using Ubuntu 16.04 with QtCreator 4.3.1 with gcc+gdb an I am trying to debug a library called kode:
    https://github.com/cornelius/kode

    Internally it uses the d pointer method, and my debugger is unable to see it's contents:
    0_1500186293469_5f698d2d-e83e-43e7-9b44-0ca4e93f6024-kép.png

    If I add an expression from the right context menu it says no such value:
    0_1500186357394_358bfe82-8697-41b9-995a-f1c042988ce6-kép.png

    I have compiled my library with the debug configuration do I need to do anything else?

    1 Reply Last reply
    0
    • M Offline
      M Offline
      martonmiklos
      wrote on last edited by
      #2

      Any ideas?

      The same question had been brought up at the Qt mailing list years ago:
      http://lists.qt-project.org/pipermail/interest/2015-September/018826.html

      But the things suggested there did not helped me.
      Adding an expression for the d pointers did not help either.

      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