Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » GDB Pretty Printing support in CDT
GDB Pretty Printing support in CDT [message #686226] Tue, 21 June 2011 21:09 Go to next message
Philippe Cayouette is currently offline Philippe CayouetteFriend
Messages: 9
Registered: July 2010
Junior Member
Hello CDT community,

I was looking for this feature for ages and I found this today:
http://wiki.eclipse.org/CDT/User/FAQ#How_can_I_inspect_the_contents_of_STL_containers.3F

At last a way to efficiently inspect STL containers (and potentially other stuff in boost)! But on my CDT Eclipse installation, version 7.0.2 on Ubuntu 10.04 with GDB 7.2, I do not see the option "Pretty Printing" in the Preference => C/C++ => Debug => GDB menu like the picture just above the FAQ (http://wiki.eclipse.org/images/d/dd/GdbTracesPreferences.png , dont mind the red square).

I do have the pretty printers installed and they works, I can see the text version (JSON like) representation of a vector of string, like this:
std::vector of length 4, capacity 4 = {"test1", "test2", "test3", "test4"}

Does the CDT support for the Pretty Printing feature is not available in 7.0.2, but it is in a future release?

Thanks!

Phil
Re: GDB Pretty Printing support in CDT [message #686279 is a reply to message #686226] Wed, 22 June 2011 00:03 Go to previous message
Philippe Cayouette is currently offline Philippe CayouetteFriend
Messages: 9
Registered: July 2010
Junior Member
I just found myself, it is in the Indigo release Embarrassed .

Very neat feature !!!!!!!
Previous Topic:Codan static analysis, where to download?
Next Topic:How is the best way to share includes between projects?
Goto Forum:
  


Current Time: Thu Apr 25 08:12:13 GMT 2024

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

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

Back to the top