Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » GDB stalling at 57% when launching in Galileo  () 1 Vote
GDB stalling at 57% when launching in Galileo [message #493398] Sun, 25 October 2009 20:56 Go to next message
Steve is currently offline SteveFriend
Messages: 6
Registered: October 2009
Location: Guelph, Ontario, Canada
Junior Member
Everytime I try to debug, Eclipse (or GDB in Eclipse) stalls at 57% when the program is launching, it eventually continues but it literally takes a few minutes to complete the launch. Is it supposed to be this slow.

I'm using the most updated version of Galileo and GDB. GDB runs perfectly outside of Eclipse.

A message appears on the console saying: "Stopped due to shared library event" and ".gdbinit: No such file or directory."

Any ideas? Thanks...

[Updated on: Sun, 25 October 2009 22:38]

Report message to a moderator

Re: GDB stalling at 57% when launching in Galileo [message #493513 is a reply to message #493398] Mon, 26 October 2009 15:19 Go to previous messageGo to next message
joex26  is currently offline joex26 Friend
Messages: 5
Registered: October 2009
Junior Member
I think what you should do is to go to Run -> Debug Configurations...
and click on your debug version of application on the left.
Then at the botton you will have a hyperlink. Click it and select "Using Standdard Create Process Launcher"
Let me know if it fixes the problem.

Do you have gdb 6.8?
Re: GDB stalling at 57% when launching in Galileo [message #493567 is a reply to message #493513] Mon, 26 October 2009 23:49 Go to previous messageGo to next message
Steve is currently offline SteveFriend
Messages: 6
Registered: October 2009
Location: Guelph, Ontario, Canada
Junior Member
Hey thanks, I actually got it working by installing the most recent nightly build of Galileo. But I'll remember how to set the debugger for when I need it Smile

It looks like the developers of Galileo found and fixed the problem themselves Very Happy

[Updated on: Mon, 26 October 2009 23:50]

Report message to a moderator

Re: GDB stalling at 57% when launching in Galileo [message #493684 is a reply to message #493398] Tue, 27 October 2009 14:45 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 1
Registered: October 2009
Junior Member
I have the same problem as the thread starter but I don't want to move to a nightly build if avoidable.

Also i've "Using Standard Create Process Launcher" checked.

Are there any hints that you can give me?

P.S.

gdb --version
GNU gdb (GDB; openSUSE 11.1) 6.8.50.20081120-cvs

[Updated on: Tue, 27 October 2009 14:52]

Report message to a moderator

Re: GDB stalling at 57% when launching in Galileo [message #493790 is a reply to message #493398] Wed, 28 October 2009 01:34 Go to previous messageGo to next message
bgeddy is currently offline bgeddyFriend
Messages: 7
Registered: October 2009
Junior Member
I'm another one with this problem - I have been wracking ny brains with this for hours and finally discovered this site. This topic was the first one I saw and I am relieved it's not just me ! Anyway - do I have to move ta a nightly build also or is there some alternative ? Thanks for your time on this.
Re: GDB stalling at 57% when launching in Galileo [message #493793 is a reply to message #493790] Wed, 28 October 2009 01:50 Go to previous messageGo to next message
bgeddy is currently offline bgeddyFriend
Messages: 7
Registered: October 2009
Junior Member
I perhaps should have tested this before posting but here are some further findings...
I have followed the advice with regards to changing the Debug configuration and setting the preferred launcher to "Using GDB (DSF) Create Process Launcher". The debugger now launches almost instantly - thank you.
Re: GDB stalling at 57% when launching in Galileo [message #493815 is a reply to message #493398] Wed, 28 October 2009 07:53 Go to previous messageGo to next message
Axel Mueller is currently offline Axel MuellerFriend
Messages: 1973
Registered: July 2009
Senior Member
Quote:
Everytime I try to debug, Eclipse (or GDB in Eclipse) stalls at 57% when the program is launching,

If you had a look at some recent postings in this forum you would have found this one with a clean explanation and a solution:
http://www.eclipse.org/forums/index.php?t=msg&th=155143& amp;start=0&S=c7771714a25dcb6d0b91bae2147d6266

The slow start of the debug session is a regression introduced in CDT 6.0.1. Only a nightly build (one day after the official 6.0.1 should be sufficient) can fix this.

Quote:
I have followed the advice with regards to changing the Debug configuration and setting the preferred launcher to "Using GDB (DSF) Create Process Launcher".

That's true. The DSF launcher is not affected. However, you should be aware that the DSF debugger misses some features that the standard debugger offers (e.g. mouse hover).


Before you ask
- search this forum
- see the FAQ http://wiki.eclipse.org/CDT/User/FAQ
- google
Re: GDB stalling at 57% when launching in Galileo [message #493918 is a reply to message #493815] Wed, 28 October 2009 13:59 Go to previous messageGo to next message
bgeddy is currently offline bgeddyFriend
Messages: 7
Registered: October 2009
Junior Member
Hi Axel and thanks for the reply. I don't mean to hijack this thread but this may be relevant to the OP as well as me. Apologies if I'm going against procedure.
Quote:
That's true. The DSF launcher is not affected. However, you should be aware that the DSF debugger misses some features that the standard debugger offers (e.g. mouse hover).
This depressed me and so I attempted to download a nightly build of CDT and install that over the top of the existing software. I am running the CDT extracted from eclipse-cpp-galileo-SR1-linux-gtk.tar.gz if that helps with the version. Eclipse reports Version: 6.0.0.200909110608 against CDT. I have attempted to install either cdt-master-6.0.2-I200910230620 or cdt-master-6.1.0-I200910230826 both of which appear to have problems launching the GDB debugger configured as "Standard Create Process Launcher". Version 6.1.0 seemed more affected then 6.0.2.

Please let me know what versions and builds work together with all the debugging effects - (mouse hovers etc) - and where to find them. I'm afraid I'm finding all the version matching rather confusing and spending a lot of time fumbling around with this. Thanks for your time.
Re: GDB stalling at 57% when launching in Galileo [message #494077 is a reply to message #493918] Thu, 29 October 2009 07:02 Go to previous messageGo to next message
Axel Mueller is currently offline Axel MuellerFriend
Messages: 1973
Registered: July 2009
Senior Member
Quote:
This depressed me and so I attempted to download a nightly build of CDT and install that over the top of the existing software. I am running the CDT extracted from eclipse-cpp-galileo-SR1-linux-gtk.tar.gz if that helps with the version. Eclipse reports Version: 6.0.0.200909110608 against CDT. I have attempted to install either cdt-master-6.0.2-I200910230620 or cdt-master-6.1.0-I200910230826 both of which appear to have problems launching the GDB debugger configured as "Standard Create Process Launcher". Version 6.1.0 seemed more affected then 6.0.2.

Please let me know what versions and builds work together with all the debugging effects - (mouse hovers etc) - and where to find them. I'm afraid I'm finding all the version matching rather confusing and spending a lot of time fumbling around with this. Thanks for your time.

I have installed the nightly build cdt-master-6.0.2-I200909180606.zip. That was build only a week after the 6.0.1 launch and includes the necessary bugfix.


Before you ask
- search this forum
- see the FAQ http://wiki.eclipse.org/CDT/User/FAQ
- google
Re: GDB stalling at 57% when launching in Galileo [message #494259 is a reply to message #494077] Thu, 29 October 2009 19:43 Go to previous messageGo to next message
Gerry Glauser is currently offline Gerry GlauserFriend
Messages: 2
Registered: October 2009
Junior Member
Just updated from Ganymede to Calileo with same 57% problem.

I got cdt-master-6.0.2-I200909180606.zip and followed the instructions adding it as an Archive site. Then got an error:

Eclipse C/C++ Development Tools will be ignored because it is already installed, and updates are not permitted.

I don't see any preferences option to change this.
Now what?
Re: GDB stalling at 57% when launching in Galileo [message #494284 is a reply to message #494259] Thu, 29 October 2009 23:04 Go to previous messageGo to next message
Gerry Glauser is currently offline Gerry GlauserFriend
Messages: 2
Registered: October 2009
Junior Member
Apparently stepped on my own foot here...
I had installed Eclipse under root, then tried updating under user.
All now working fine with the CDT update.
Thanks for the help.
Problem with Remote Debugging on upgrade to 6.0.2 Re: GDB stalling at 57% when launching in Galileo [message #505381 is a reply to message #493398] Wed, 30 December 2009 08:23 Go to previous messageGo to next message
Darko Lombardo is currently offline Darko LombardoFriend
Messages: 1
Registered: December 2009
Junior Member
Hi,

I am running similar to:

Quote:
I am running the CDT extracted from eclipse-cpp-galileo-SR1-linux-gtk.tar.gz if that helps with the version. Eclipse reports Version: 6.0.0.200909110608 against CDT


With all the CDT options installed and RSE End-User Runtime. All latest versions from Gallileo Updates site.

Tried to upgrade from nightly builds:

I200912180606
I200909180606

with selection of all the features except the Sources.

with the same trouble: after restart Remote Systems does not work anymore and in Debugger Configurations I do not see remote debugging categories any more!

I see only:
C/C++ Application
C/C++ Attach to Application
C/C++ Postmortem Debugger

But no:
C/C++ Remote Application
GDB Hardware Debugging

as I had beffore.

If I try to open Remote Systems Perspective I get an Error Window:

Quote:
Restoring Problems
...
Could not find view: org.eclipse.rse.ui.view.systemView



Any suggestions?

Kind regards

[Updated on: Wed, 30 December 2009 08:28]

Report message to a moderator

Re: GDB stalling at 57% when launching in Galileo [message #530043 is a reply to message #493398] Wed, 28 April 2010 09:44 Go to previous messageGo to next message
wulijun  is currently offline wulijun Friend
Messages: 1
Registered: April 2010
Junior Member
please click menu: Window->Preferences->C/C++->Debug->GDB MI->Launch timeout(ms):1000
Re: GDB stalling at 57% when launching in Galileo [message #537202 is a reply to message #530043] Tue, 01 June 2010 15:16 Go to previous messageGo to next message
Richard  is currently offline Richard Friend
Messages: 26
Registered: July 2009
Junior Member
I too have this problem trying to start the debugger from Eclipse. It used to work. And now it just gets this stalling at 57% when launching. I actually have another project in Eclipse that it still works for. So, there must be something unique about this project that is the problem. I can run the executable outside Eclipse in a non-debug way and it works fine. I just tried your suggestion for changing the launch timeout to 1000, but that does nothing for me. Any other ideas?
Re: GDB stalling at 57% when launching in Galileo [message #537306 is a reply to message #537202] Tue, 01 June 2010 21:12 Go to previous messageGo to next message
Richard  is currently offline Richard Friend
Messages: 26
Registered: July 2009
Junior Member
I have just installed Eclipse R2 version and this problem has now gone away for me. BTW, I was actually only getting the 57% launch issue when I was using the intel debugger. When I changed to use GDB instead, it worked fine. Although it had worked in the past. So, I do not know what changed to make this not work. But, I am fine now. Smile
Re: GDB stalling at 57% when launching in Galileo [message #657752 is a reply to message #494284] Thu, 03 March 2011 20:47 Go to previous message
Brandon  is currently offline Brandon Friend
Messages: 2
Registered: March 2011
Junior Member
Gerry Glauser wrote on Thu, 29 October 2009 19:04
Apparently stepped on my own foot here...
I had installed Eclipse under root, then tried updating under user.
All now working fine with the CDT update.
Thanks for the help.



Can you elaborate on this please? I am also getting an error saying that my request "will be ignored because it is already installed, and updates are not permitted."
Previous Topic:How can I inherited CDT views and then expand upon
Next Topic:conditional compilation ignored
Goto Forum:
  


Current Time: Fri Apr 26 23:14:34 GMT 2024

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

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

Back to the top