Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
wiki1874: DebuggerFAQ (Version 2)

Qnx Debugger FAQ#

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 open Modules view and if you see your 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 tab in the Debug tab of the launch configuration. Second, library file name must be the same as soname with "lib" prefix. 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...




Active Tab Versions Inactive Tab - left sideAssociations Inactive Tab - left sideAttachments Inactive Tab - left sideBack LinksInactive Tab - right side