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 10:18 Go to next message
Nathan Hüsken is currently offline Nathan Hüsken
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 11:27 Go to previous messageGo to next message
Marc Khouzam is currently offline Marc Khouzam
Messages: 262
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 04:09 Go to previous messageGo to next message
Nathan Hüsken is currently offline Nathan Hüsken
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 09:05 Go to previous messageGo to next message
Marc Khouzam is currently offline Marc Khouzam
Messages: 262
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 10:04 Go to previous messageGo to next message
Harry Houdini is currently offline Harry Houdini
Messages: 131
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 10:38 Go to previous messageGo to next message
Marc Khouzam is currently offline Marc Khouzam
Messages: 262
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 10:52 Go to previous messageGo to next message
Harry Houdini is currently offline Harry Houdini
Messages: 131
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 00:32 Go to previous messageGo to next message
Soumya Nelivigi is currently offline Soumya Nelivigi
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 08:53 Go to previous messageGo to next message
Harry Houdini is currently offline Harry Houdini
Messages: 131
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 05:51 Go to previous message
Axel Mueller is currently offline Axel Mueller
Messages: 1927
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 Apr 17 11:38:05 EDT 2014

Powered by FUDForum. Page generated in 0.02299 seconds