OS: Linux CentOS 8
Slicer git tag: 80f7a47e343266b5ca7cca59a09816fbbdd6101a
Hi there, I’m working on a loadable extension with a custom Slicer build made using SlicerCAT. I’m able to debug my extension by using “./SlicerWithMyExtension --attach-process” in the terminal and then attaching gdb to the process in vscode. From here, I’m able to set and hit breakpoints as expected within the loadable module.
I would also like to be able to set breakpoints in the built in loadable module source files (the ones located here: path/to/slicersources-src/modules/loadable). However, when I set breakpoints in these files I get the message “Module containing this breakpoint has not yet loaded or the breakpoint address could not be obtained”. I’m wondering if I’ve missed something simple or if I’ve set something up incorrectly. I think I’ve followed the debugging wiki instructions correctly. Should it be possible to hit breakpoints in these files in this way from a loadable extension?