Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » 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: 1829
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: 219
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 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

Previous Topic:Breakpoints unreliable in multithreaded program
Next Topic:Need help getting a fresh Indigo+MinGW install to build and run
Goto Forum:
  


Current Time: Fri May 24 15:39:10 EDT 2013

Powered by FUDForum. Page generated in 0.04066 seconds