Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Getting the GDB (DSF) create Process launcher to stop in shared library breakpoints
Getting the GDB (DSF) create Process launcher to stop in shared library breakpoints [message #640597] Mon, 22 November 2010 15:18 Go to next message
Nathan Hüsken is currently offline Nathan HüskenFriend
Messages: 27
Registered: November 2010
Junior Member
I had trouble, that gdb would not stop at breakpoints in shared libraries, discussed here:
http:// www.eclipse.org/forums/index.php?t=msg&th=200106&sta rt=0&S=17202ee5abff12b664faec647de0c3f3

In the thread, a solution solving the problem was suggested: Do not use "GDB (DSF) create Process launcher" but use "Standard create Process launcher".

Works, but one disadvantage: Starting the application takes forever while the console is spamed with
Stopped due to shared library event

For my application, it takes really long, making debugging it very annoying.

In the thread, it was said that the next CDT release would fix the problem.
I am wondering: Is there any way I could get a fix earlier?

It would really help!!!

Thanks!
Nathan
Re: Getting the GDB (DSF) create Process launcher to stop in shared library breakpoints [message #640631 is a reply to message #640597] Mon, 22 November 2010 16:27 Go to previous messageGo to next message
Marc Khouzam is currently offline Marc KhouzamFriend
Messages: 357
Registered: July 2009
Senior Member
You could take a CDT nightly build (at your own risk Smile) for the 8.0 release.

http://download.eclipse.org/tools/cdt/builds/

Marc
Re: Getting the GDB (DSF) create Process launcher to stop in shared library breakpoints [message #640804 is a reply to message #640631] Tue, 23 November 2010 09:09 Go to previous messageGo to next message
Nathan Hüsken is currently offline Nathan HüskenFriend
Messages: 27
Registered: November 2010
Junior Member
I will risk it Smile.

Should I upgrade to eclipse 3.7 first, or should I stay with eclipse 3.6?

Regards,
Nathan
Re: Getting the GDB (DSF) create Process launcher to stop in shared library breakpoints [message #640904 is a reply to message #640804] Tue, 23 November 2010 14:05 Go to previous messageGo to next message
Marc Khouzam is currently offline Marc KhouzamFriend
Messages: 357
Registered: July 2009
Senior Member
No Real Name wrote on Tue, 23 November 2010 04:09
I will risk it Smile.

Should I upgrade to eclipse 3.7 first, or should I stay with eclipse 3.6?

Regards,
Nathan


I still use 3.6. So it really is up to you.

Marc
Re: Getting the GDB (DSF) create Process launcher to stop in shared library breakpoints [message #753727 is a reply to message #640904] Fri, 28 October 2011 14:04 Go to previous messageGo to next message
Harry Houdini is currently offline Harry HoudiniFriend
Messages: 142
Registered: February 2010
Senior Member
Is this problem resolved in Indigo ?

And where could I get documentation about these two modes ?
The documentation provided with Indigo is obsolete regarding this point.

Thanks.
Re: Getting the GDB (DSF) create Process launcher to stop in shared library breakpoints [message #753735 is a reply to message #753727] Fri, 28 October 2011 14:38 Go to previous messageGo to next message
Marc Khouzam is currently offline Marc KhouzamFriend
Messages: 357
Registered: July 2009
Senior Member
Oodini wrote on Fri, 28 October 2011 10:04
Is this problem resolved in Indigo ?

And where could I get documentation about these two modes ?
The documentation provided with Indigo is obsolete regarding this point.

Thanks.


Yes, it is fixed in Indigo as long as you use GDB >= 6.8.

If by "two modes" you mean the "GDB (DSF)" launcher and the "Standard Process" launcher, there is some info here:
http://wiki.eclipse.org/CDT/User/FAQ#How_can_I_choose_another_debugger_integration_for_CDT.3F

Marc
Re: Getting the GDB (DSF) create Process launcher to stop in shared library breakpoints [message #753747 is a reply to message #753735] Fri, 28 October 2011 14:52 Go to previous messageGo to next message
Harry Houdini is currently offline Harry HoudiniFriend
Messages: 142
Registered: February 2010
Senior Member
OK, thank you.
Re: Getting the GDB (DSF) create Process launcher to stop in shared library breakpoints [message #849354 is a reply to message #640597] Thu, 19 April 2012 04:32 Go to previous messageGo to next message
Soumya Nelivigi is currently offline Soumya NelivigiFriend
Messages: 2
Registered: April 2012
Junior Member
Hi

Even I am facng the same problem.I am using
launcher: Standard Create Process Launcher
Eclipse IDE: Helios
GDB: 7.4 and 7.2 (Tested on both)

It is taking long time to hit the breakpoint. If anyone have faced this problem and solved please help me out. Thanks in advance.
Re: Getting the GDB (DSF) create Process launcher to stop in shared library breakpoints [message #865526 is a reply to message #849354] Mon, 30 April 2012 12:53 Go to previous messageGo to next message
Harry Houdini is currently offline Harry HoudiniFriend
Messages: 142
Registered: February 2010
Senior Member
Didin't succeed yet to debug my library inside CDT...
Re: Getting the GDB (DSF) create Process launcher to stop in shared library breakpoints [message #868617 is a reply to message #849354] Wed, 02 May 2012 09:51 Go to previous message
Axel Mueller is currently offline Axel MuellerFriend
Messages: 1973
Registered: July 2009
Senior Member
Soumya Nelivigi wrote on Thu, 19 April 2012 06:32
Hi

Even I am facng the same problem.I am using
launcher: Standard Create Process Launcher
Eclipse IDE: Helios
GDB: 7.4 and 7.2 (Tested on both)

It is taking long time to hit the breakpoint. If anyone have faced this problem and solved please help me out. Thanks in advance.

As said before. You should upgrade to Eclipse Indigo and use the DSF debug launcher.


Before you ask
- search this forum
- see the FAQ http://wiki.eclipse.org/CDT/User/FAQ
- google
Previous Topic:Visual C/C++
Next Topic:C Syntax Help
Goto Forum:
  


Current Time: Thu Mar 28 10:43:31 GMT 2024

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

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

Back to the top