How to generate core dump file in ROS2

asked 2021-10-07 07:59:29 -0500

TakaHoribe gravatar image

updated 2021-10-07 08:06:27 -0500

Does anyone know how to generate core dump file in ROS2?

In ROS1, there is a document about "Obtaining core dumps" here. Following the document, I could create the core.xxx file in ~/.ros. with the following command.

ulimit -c unlimited; 
echo 1 > /proc/sys/kernel/core_uses_pid

It was useful for debugging. But in ROS2, I couldn't create with the same way as ROS1, and I couldn't find any document about it in ROS2.

Does anyone know how to create a core dump file in ROS2?

Thank you in advance.

edit retag flag offensive close merge delete