Shared library breakpoints [message #210114] |
Wed, 20 February 2008 13:50  |
Eclipse User |
|
|
|
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 11:42  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.27284 seconds