"No source available for main()" while debugging in Eclipse IDE
I'm new to ros groovy and using catkin. I created a workspace, a catkin package with catkin_create_pkg and an eclipse project with
catkin_make --force-cmake -G"Eclipse CDT4 - Unix Makefiles". Now in my workspace I have the src, devel and build folder and I can run the program in eclipse IDE. Therefore I need to choose "Run configurations" -> Created new Launch and browsed the binary. But if I try to debug it, eclipse doesn't show the source code, if it stops at a breakpoint and I just get
No source available for main().
Does anyone have a solution?