Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Gdb Pretty Print on Windows(Can't find a gdb that supports python)
Gdb Pretty Print on Windows [message #885388] Tue, 12 June 2012 18:47 Go to next message
Eclipse UserFriend
I've been trying for ages to get gdb pretty printing to work on Windows, but everything fails eventually. I nearly got it to work on one occasion, but gdb crashed CDT.
I can't understand why this feature is so difficult to install - Visual Studio works out of the box. I'm using gcc 4.7 with MinGW and I've tried lots of versions of Eclipse, lots of versions of gdb, but to no avail.
Is there a definitive version of the {MinGW, CDT, Eclipse, Gdb} set that is known to work. The Gdb is particularly annoying, because the latest versions are supposed to support Python scripting, but don't and building from source keeps failing (not to mention being very complicated).

CDT is a brilliant product, but no STL debugging is a major drawback.



Re: Gdb Pretty Print on Windows [message #885529 is a reply to message #885388] Wed, 13 June 2012 03:29 Go to previous message
Eclipse UserFriend
Prebuild gdb 7.4 with python support can be downloaded from http://sourceforge.net/projects/mingw/files/MinGW/Extension/gdb/GDB-7.4/

Additionally, you will need to install python 2.7.x available via python.org

To get pretty printing for STL follow the instructions here (where to get the python script and what to add to your gdbinit file)
http://wiki.eclipse.org/CDT/User/FAQ#How_can_I_inspect_the_contents_of_STL_containers.3F



Previous Topic:Could not find include file on include paths
Next Topic:Doubt: Adding new optimizations flags
Goto Forum:
  


Current Time: Wed Jul 23 12:54:23 EDT 2025

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

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

Back to the top