Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Cannot get Eclipse for C/C++ to debug(impossible to debug)
Cannot get Eclipse for C/C++ to debug [message #1715731] Wed, 25 November 2015 14:35 Go to next message
JUAN DENT is currently offline JUAN DENTFriend
Messages: 4
Registered: November 2015
Junior Member
> I just downloaded :
> Eclipse IDE for C/C++ Developers
> Version: Mars.1 Release (4.5.1)
> Build id: 20150924-1200
> and was unable to debug (message about gdb version) so I downloaded
> latest version of gdb (7.10) and built it in the gdb-7.10 directory by
> running:
> make
> Then copied gdb into /usr/local/bin/gdb as per instructions jn README
> But when I try to run the debugger (after setting the gdb to where I
> put it) I get:
> Python Exception <type 'exceptions.ImportError'> No module named gdb:
> /usr/local/bin/gdb/gdb: warning: Could not load the Python gdb module
> from `/usr/local/share/gdb/python'.
> Limited Python support is available from the _gdb module.
> Suggest passing --data-directory=/path/to/gdb/data-directory.

The thing is I never get the program running (it stays in 99% loading)...
> -----
> What could be going on?
> Thanks!!
> Juan
Re: Cannot get Eclipse for C/C++ to debug [message #1715737 is a reply to message #1715731] Wed, 25 November 2015 15:08 Go to previous message
David VavraFriend
Messages: 1430
Registered: October 2012
Senior Member
Don't use python myself but I Googled "Could not load the Python gdb module" and found these in the top three links:

There are others.

How are you using this with CDT?

Previous Topic:Console debuging
Next Topic:gdb server for eclipse
Goto Forum:

Current Time: Sat Aug 13 16:30:52 GMT 2022

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

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

Back to the top