This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

setting debug breakpoint on shared object symbols

Other Parts Discussed in Thread: OPT8241

Tool/software: Linux

I use a source compiled Voxel SDK on Ubuntu 16.
I can successfully use built binary SimpleVoxelViewer to
see point cloud with OPT8241 EVM CDK.

As expected SimpleVoxelViewer uses shared object libraries e.g., libvoxel.so.
In order to debug the running SimpleVoxelViewer application using gdb
I built VoxelSDK with debug info i.e., using the flag RelWithDbgInfo.

Using GDB, I can set a breakpoint on main() function from SimpleVoxelViewer.cpp program.
However, what I am interested in is setting breakpoints from symbols (read functions)
from shared object libraries that SimpleVoxelViewer application uses.
Lets say I want to set a breakpoint for the following functions -
_captureThread() , putBuffer(), _captureRawUnprocessedFrame().

Can you tell me how to set breakpoints in the above shared object symbols while
debugging SimpleVoxelViewer with GDB in Ubuntu ?