I'm trying to debug a segmentation fault on a ROS nodelet. I've tried to use libSegFault by adding the following lines to CMakeLists.txt
:
set(CMAKE_BUILD_TYPE Debug)
set(CMAKE_CXX_STANDARD_LIBRARIES -lSegFault)
Further, if I enable verbose output with:
set(CMAKE_VERBOSE_MAKEFILE on)
I can see that the nodelet library is indeed being compiled with -g
and linked against libSegFault
.
However, no additional output is generated when the nodelet crashes.
What am I missing? Is the output maybe being suppressed by the ROS logger?