Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » [solved] hallo world stopped due to shared library event ubuntu(hallo world stopped due to shared library event ubuntu)
[solved] hallo world stopped due to shared library event ubuntu [message #851994] Sat, 21 April 2012 10:54 Go to next message
Voornaam Achernaam is currently offline Voornaam Achernaam
Messages: 2
Registered: April 2012
Junior Member
I tried to debug the hallo world application on ubuntu, but the compiler gave the following error:

.gdbinit: No such file or directory.
Reading symbols from /home/*my name*/Documents/programming/cpp/HalloWereld/Debug/HalloWereld...done.

Stopped due to shared library event
Stopped due to shared library event

I can run the program in release mode without problem and the terminal-version of gdb also works correctly. If I manually link to the gdbinit file, which is empty, the ".gdbinit: No such file or directory." error disappears, but the "Stopped due to shared library event" error stays. Does anyone know how I can fix this problem?

[Updated on: Mon, 23 April 2012 10:13]

Report message to a moderator

Re: hallo world stopped due to shared library event ubuntu [message #853735 is a reply to message #851994] Mon, 23 April 2012 05:34 Go to previous messageGo to next message
Axel Mueller is currently offline Axel Mueller
Messages: 1949
Registered: July 2009
Senior Member
Open the Debug Launch Configuration and click the Debugger tab. Then select the tab Shared Libraries. Uncheck "Stop on shared library events".

Before you ask
- search this forum
- see the FAQ http://wiki.eclipse.org/CDT/User/FAQ
- google
Re: hallo world stopped due to shared library event ubuntu [message #853928 is a reply to message #853735] Mon, 23 April 2012 09:32 Go to previous messageGo to next message
Marc Khouzam is currently offline Marc Khouzam
Messages: 269
Registered: July 2009
Senior Member
As a side-note, ".gdbinit: No such file or directory." is not a problem. You can ignore it.
However, I'm surprised you even see this message. Where exactly do you see it?

Thanks

Marc
Re: hallo world stopped due to shared library event ubuntu [message #853963 is a reply to message #851994] Mon, 23 April 2012 10:13 Go to previous messageGo to next message
Voornaam Achernaam is currently offline Voornaam Achernaam
Messages: 2
Registered: April 2012
Junior Member
Thank you, everything works fine now. The "suspend on shared library event" option was not enabled, instead the "stop on start-up at main" option was enabled. I saw the error in the console tap, while I was not inside the debug view.

[Updated on: Mon, 23 April 2012 10:14]

Report message to a moderator

Re: hallo world stopped due to shared library event ubuntu [message #1141802 is a reply to message #853963] Thu, 17 October 2013 03:42 Go to previous message
Diem Lam is currently offline Diem Lam
Messages: 1
Registered: October 2013
Junior Member
I have the same problem with you, but I don't know how to resolve it. Did you uncheck the "stop on start-up at main" option or do another work ? How do you make it work fine ?

Please reply me if you have free time Voornaam Achernaam.
Thank you very much
Previous Topic:Can not pass cmd arguments in kepler C++ eclipse (@ubuntu 12.04)
Next Topic:Eclipse Project Preferences Sharing?
Goto Forum:
  


Current Time: Tue Jul 22 17:39:21 EDT 2014

Powered by FUDForum. Page generated in 0.02040 seconds