Representation of std::shared_ptr in qtcreator debugger
-
Am I correct in that qtcreator is not able to represent std::shared_ptr in qtcreator 3+ ?
I only get a not very helpfull remark about the usecount and such, but actual expansion of the pointer stored in the shared_ptr is not possible. It is supported for QSharedPointer it seems, but I prefer to use the std version.
It was possible in qtcreator 2.8.1 which I have been using until now. I did not upgrade because of this problem ( I use many shared and unique pointers).
-
Hi and welcome to devnet,
It seems it should have been solved following this "bug report":https://bugreports.qt-project.org/browse/QTCREATORBUG-11305
Depending on the version of Qt Creator you are using, you should add a comment to this bug
-
Closed doesn't mean it won't be reopened :)
-
Please file a proper bug report and attach the debugger log (contents of right pane of Windows->Views->Debugger Log). Without access to any details my best guess is that you selected "Load system GDB pretty printers" in the Debugger options. Switch that off to use Creator's own pretty printing.