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. Debugging - std::shared_ptr shows up as "<not accessible>" in QtCreator 3.0
Forum Updated to NodeBB v4.3 + New Features

Debugging - std::shared_ptr shows up as "<not accessible>" in QtCreator 3.0

Scheduled Pinned Locked Moved Qt Creator and other tools
7 Posts 4 Posters 4.0k Views 1 Watching
  • 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.
  • E Offline
    E Offline
    Esperantisto
    wrote on last edited by
    #1

    I'm unable to view the contents of any std::shared_ptr in QtCreator 3.0. This used to work in 2.8. Any suggestions?

    [edit] I should mention that this is on Linux.

    1 Reply Last reply
    0
    • E Offline
      E Offline
      Esperantisto
      wrote on last edited by
      #2

      I seems that the debug helper isn't working for std::shared_ptr.

      1 Reply Last reply
      0
      • T Offline
        T Offline
        tobias.hunger
        wrote on last edited by
        #3

        Please report a bug at https://bugreports.qt-project.org/ . Reports here tend to go unnoticed by the people that can actually fix the issues for you.

        1 Reply Last reply
        0
        • T Offline
          T Offline
          terenty
          wrote on last edited by
          #4

          Hi,
          I had the same problem on Win7 and managed to solve it,
          "look here":http://qt-project.org/forums/viewthread/36766/
          Maybe it's for the same reason.

          1 Reply Last reply
          0
          • D Offline
            D Offline
            deusinvictus
            wrote on last edited by
            #5

            I was having a similar problem when I upgraded to Qt Creator 3.0, but I was unable to view the contents of various Qt Classes. I didn't spend a lot of time looking into the problem since it was a low priority and went back to using Qt Creator 2.7. I just tried the Terenty's recommendation and commented out everything in gdbinit, and I need to do more testing but it looks like that may have worked.

            FYI on Windows 7

            1 Reply Last reply
            0
            • E Offline
              E Offline
              Esperantisto
              wrote on last edited by
              #6

              [quote author="terenty" date="1390803981"]Hi,
              I had the same problem on Win7 and managed to solve it,
              "look here":http://qt-project.org/forums/viewthread/36766/
              Maybe it's for the same reason.[/quote]

              I tried turning off [Load .gdbinit file on startup] and [Load system GDB pretty printers] but the issue remains.

              1 Reply Last reply
              0
              • E Offline
                E Offline
                Esperantisto
                wrote on last edited by
                #7

                This looks like it has been fixed in 3.1:
                https://bugreports.qt-project.org/browse/QTCREATORBUG-11305

                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