ROS C++ code debug with CLion

I use ROS with C++ source code on a robot. How can I use breakpoints of CLion IDE to debug my code? Is it possible? 

0
2 comments

Yes, it is possible. I don't use ROS, however it would be the same as other c++ projects. You will have to set up remote builds and build the code on your target. It will function just like your local host gdb session.

0

I am not professional with Clion. Could you please tell me step by step how can I debug catkin built Cmake C++ project  with Clion?

0

Please sign in to leave a comment.