Qt Forum

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

    Unsolved Showing the contents of the d pointers during debugging

    General and Desktop
    gdb debugger
    1
    2
    1002
    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.
    • M
      martonmiklos last edited by

      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 Reply Quote 0
      • M
        martonmiklos last edited by

        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 Reply Quote 0
        • First post
          Last post