Using SoftBench Debugger
Debugging Dynamic LibrariesDebugging Dynamic Libraries
Programs can contain several kinds of library images:
•Static: the library code is physically linked in with your program.
•Shared: the linker knows about the library, but it is not linked in with your program. All programs that use the library share a common copy of the library.
•Dynamically loaded: the library is not known to the linker, and is loaded when your program requests it by calling a system routine.
When you choose "Execution: Enable Images/Libraries…", the
"Images/Libraries" dialog box presents you with a list of all currently known shared or dynamically loaded libraries used by the program being debugged. (See Figure
To enable libraries for debugging:
1.Choose "Execution: Enable Images/Libraries…" to display the known libraries.
2.Select one or more libraries from the "Images/Libraries" dialog box and select Enable. You may also
Selecting the Enable All button enables all libraries. Once you enable a library for debugging, it cannot be disabled without exiting SoftBench Debugger.
Chapter 7 | 209 |