Skip to main content



      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 16:56 Go to next message
Eclipse UserFriend
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 18:38] by Moderator

Re: GDB stalling at 57% when launching in Galileo [message #493513 is a reply to message #493398] Mon, 26 October 2009 11:19 Go to previous messageGo to next message
Eclipse UserFriend
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 19:49 Go to previous messageGo to next message
Eclipse UserFriend
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 19:50] by Moderator

Re: GDB stalling at 57% when launching in Galileo [message #493684 is a reply to message #493398] Tue, 27 October 2009 10:45 Go to previous messageGo to next message
Eclipse UserFriend
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 10:52] by Moderator

Re: GDB stalling at 57% when launching in Galileo [message #493790 is a reply to message #493398] Tue, 27 October 2009 21:34 Go to previous messageGo to next message
Eclipse UserFriend
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] Tue, 27 October 2009 21:50 Go to previous messageGo to next message
Eclipse UserFriend
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 03:53 Go to previous messageGo to next message
Eclipse UserFriend
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).
Re: GDB stalling at 57% when launching in Galileo [message #493918 is a reply to message #493815] Wed, 28 October 2009 09:59 Go to previous messageGo to next message
Eclipse UserFriend
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 03:02 Go to previous messageGo to next message
Eclipse UserFriend
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.
Re: GDB stalling at 57% when launching in Galileo [message #494259 is a reply to message #494077] Thu, 29 October 2009 15:43 Go to previous messageGo to next message
Eclipse UserFriend
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 19:04 Go to previous messageGo to next message
Eclipse UserFriend
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 03:23 Go to previous messageGo to next message
Eclipse UserFriend
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 03:28] by Moderator

Re: GDB stalling at 57% when launching in Galileo [message #530043 is a reply to message #493398] Wed, 28 April 2010 05:44 Go to previous messageGo to next message
Eclipse UserFriend
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 11:16 Go to previous messageGo to next message
Eclipse UserFriend
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 17:12 Go to previous messageGo to next message
Eclipse UserFriend
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 15:47 Go to previous message
Eclipse UserFriend
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: Tue Jul 22 14:54:56 EDT 2025

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

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

Back to the top