GDB Pretty Printing support in CDT [message #686226] |
Tue, 21 June 2011 21:09 |
Philippe Cayouette 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
|
|
|
|
Powered by
FUDForum. Page generated in 0.02805 seconds