Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » CDT 9.0 Debugger problems with STL pointers
CDT 9.0 Debugger problems with STL pointers [message #1738169] Sat, 16 July 2016 21:00 Go to next message
Teodor Nikolov is currently offline Teodor NikolovFriend
Messages: 1
Registered: July 2016
Junior Member
Although I have pretty printing enabled and working for STL containers such as std::vector and std::array, I am not able to view data when those containers are wrapped with STL pointers such std::shared_ptr or std::unique_ptr .

Is it possible to view the data stored in an e.g. std::shared_ptr<std::vector<>> much the same way I view data in std::vector with pretty printing?

My version of gdb is 7.7.1.

Many thanks
Re: CDT 9.0 Debugger problems with STL pointers [message #1738313 is a reply to message #1738169] Mon, 18 July 2016 23:05 Go to previous message
Jonah Graham is currently offline Jonah GrahamFriend
Messages: 416
Registered: June 2014
Senior Member
What CDT displays is what the pretty printers provide in gdb/stdc++ library. You can try seeing if newer version of the pretty printers are available, they are essentially part of gcc (stdc++ library is part of gcc).

Jonah
Previous Topic:Find reason for STATUS_DLL_NOT_FOUND on Windows
Next Topic:C/C++...
Goto Forum:
  


Current Time: Sat Apr 27 03:24:49 GMT 2024

Powered by FUDForum. Page generated in 0.02460 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top