Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » GDB in eclipse(using GDB in eclipse )
GDB in eclipse [message #1831202] Thu, 13 August 2020 13:42 Go to next message
Yasser Attarizi is currently offline Yasser AttariziFriend
Messages: 2
Registered: August 2020
Junior Member
I installed the 2020-06 of eclipse for C and C++ and crated a new project with it. the project can be built but when I want to debug it I encounter with this message:
Could not determine GDB version using command: gdb --version
Failed to import the site module
Error processing line 1 of /usr/local/lib/python3.6/dist-packages/ruamel.yaml-0.16.10-py3.8-nspkg.pth:

It seems that eclipse cannot find the gdb. I am sure that I have gdb installed i my ubuntu PC. but when I type gdb in command prompt I see the same error.
can anybody please help me on this?
Thanks
Re: GDB in eclipse [message #1831210 is a reply to message #1831202] Thu, 13 August 2020 18:33 Go to previous messageGo to next message
Tauno Voipio is currently offline Tauno VoipioFriend
Messages: 742
Registered: August 2014
Senior Member
It seems to me that your Ubuntu installation does not have the program development tools.

Please go to the package manager and install build-essential package.

You can do it from the console:
sudo apt install build-essential


--

Tauno Voipio
Re: GDB in eclipse [message #1831334 is a reply to message #1831210] Mon, 17 August 2020 15:44 Go to previous messageGo to next message
Yasser Attarizi is currently offline Yasser AttariziFriend
Messages: 2
Registered: August 2020
Junior Member
Hi
Thanks for your reply
when I wanted to install build-essential it told me that I have had it:
build-essential is already the newest version (12.4ubuntu1).
Re: GDB in eclipse [message #1831716 is a reply to message #1831210] Thu, 27 August 2020 11:21 Go to previous message
Vijay Singh is currently offline Vijay SinghFriend
Messages: 2
Registered: August 2020
Junior Member
I am seeing the same or when resolving getting the same solution.
Previous Topic:Register groups in debug launch configuration are lost on debug launch failure
Next Topic:Toggle Hardware Breakpoint
Goto Forum:
  


Current Time: Fri Apr 19 03:03:13 GMT 2024

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

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

Back to the top