Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
wiki1874: DebuggerFAQ (Version 1)

Q: Why debugger does not stop on breakpoints in my shared library code?#

Usually because gdb cannot load symbols for this library. To check this one Modules view and if you see you library there without a bug icon - symbols are not loaded

Q: Why debugger would not load symbols for my shared library?#

First, it needs to find this library in your shared library path on a host side. You usually have to explicitly specify this in the Shared Libraries in the Debug tab of the launch configuration. Second, library name must be the same as soname. You can check soname if you open Properties view on library (.so file) or open it in Binary editor. If you have soname as aaa.so.1 and library called libaaa.so gdb cannot match it (because of extra version number). To avoid this problem for debugging purposes do not use so version number when you generate so name for your library.

more coming soon...