Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ptp-user] debug a shared library

Dear all,

I search high and low on internet but could not find any examples of how to debug a shared library with PTP?
When I create a debug configuration for “C/C++ Application”, under “Debugger” tab there is an option “Shared Libraries” 
which, supposedly, is used to add a library (compiled with debug information) to the debugger.

Can I debug shared library with PTP? 
What I did so far is added a folder (+subfolders) with shared library sources under “Source” tab of the Debug configuration. 
I can debug my main configuration but can not step in to the shared library, even though I absolutely sure that executable is
linked against a proper debug-version of the library.

p.s. I use Kepler on OS-X, gdb 7.6
p.p.s. the shared library is compiled outside of Eclipse; The executable is a “project with existing code and makefile”, if that matters. 

Kind regards,
Denis 



Back to the top