Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Shared library breakpoints
Shared library breakpoints [message #210114] Wed, 20 February 2008 18:50 Go to next message
Michael O'Brien is currently offline Michael O'BrienFriend
Messages: 8
Registered: July 2009
Junior Member
I'm using Eclipse Platform CDT Version: 3.3.1.1 on MAC OS X Leopard.

When I debug a program which loads a shared library, my breakpoints in
the shared library are not persisting across debug restarts.

Once the shared library is loaded, I can defined breakpoints and they
correctly suspend program execution. But if I restart the debug session
by restarting the program, the breakpoints are not automatically
restarted when the shared library is loaded. They remain disabled.

How can I make shared library breakpoints be automatically enabled when
the library loads? Or how can I debug this to get more information?

Michael
Re: Shared library breakpoints [message #210288 is a reply to message #210114] Fri, 22 February 2008 16:42 Go to previous message
Michael O'Brien is currently offline Michael O'BrienFriend
Messages: 8
Registered: July 2009
Junior Member
Just wanted to raise this issue one more time incase anyone has any ideas:


Yes, I'm using the Mach-O parser with debug symbols. I'm manually
loading the shared library using dlopen. After loading, I call dlsym to
get a function address. I can step into the shared library and do
symbolic debugging - so this means that it has debug symbols and the
parser is working. But eclipse/CDT is not re-establishing the
breakpoints in the shared library. They are visible in the breakpoints
view but not enabled. Is there an eclipse command to "re-establish" all
breakpoints?


Michael O'Brien wrote:
> I'm using Eclipse Platform CDT Version: 3.3.1.1 on MAC OS X Leopard.
>
> When I debug a program which loads a shared library, my breakpoints in
> the shared library are not persisting across debug restarts.
>
> Once the shared library is loaded, I can defined breakpoints and they
> correctly suspend program execution. But if I restart the debug session
> by restarting the program, the breakpoints are not automatically
> restarted when the shared library is loaded. They remain disabled.
>
> How can I make shared library breakpoints be automatically enabled when
> the library loads? Or how can I debug this to get more information?
>
> Michael
Previous Topic:registers & disassembly broken in 3.1.2 on mac os x?
Next Topic:Eclipse Europa starting with error
Goto Forum:
  


Current Time: Sat Jul 27 15:52:37 GMT 2024

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

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

Back to the top