Debugging - std::shared_ptr shows up as "<not accessible>" in QtCreator 3.0
-
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.
-
I seems that the debug helper isn't working for std::shared_ptr.
-
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.
-
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. -
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
-
[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.
-
This looks like it has been fixed in 3.1:
https://bugreports.qt-project.org/browse/QTCREATORBUG-11305