You copied the Doc URL to your clipboard.

1.3.150 set stop-on-solib-events

Controls whether the debugger stops execution when a shared object is loaded or unloaded.


You must launch the debugger with the --target_os command-line option before you can use this feature. In Eclipse this option is automatically selected when you connect to a target using gdbserver.


set stop-on-solib-events {off|on}



Ignore event. This is the default.


Stop execution. Use this option only when you want the debugger to stop execution. For example, you might want to set a breakpoint in a shared library prior to use or perhaps you might want to check the initialization of global variables.

Example 1-153 Examples

set stop-on-solib-events on             # Stop execution when event occurs

Related reference