How to debug executable, built with catkin_make (without roslaunch)
Hi,
in my project i built several executables with catkin_make and i want to debug it (e.g. with gdb). Usually when building with gcc one can just add the the argument -g. Is there similar why for catkin such that i can debug the executables afterwards with gdb and without using roslaunch?
I have tried starting gdb directly with the executable but it says no debugging symbols found
.
I have also tried to do set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -O0 -std=c++11 -march=native" )
without success.
I haven't found anything regarding this on the internet so far. Thanks for helping