Cannot debug C / C ++ code using eclipse because no debugging information

I am trying to debug a C project on mint Linux using the eclipse Galileo IDE. When I try to start a project in DEBUG mode, the process ends because it says: there is no debugging information.

The following messages appear in the eclipse console

No source available for "main() " 

and 

Reading symbols from /home/project/netconf/target/bin/netconfd...(no debugging symbols found)...done. 

I am using custom build command

do DEBUG = 1 STATIC = 1 [eclipse> project> properties> c / C ++ settings build> builder]

It builds and works fine in RELEASE mode.

I can create the same application using a regular command line build using the command terminal using the same build options

> sudo make DEBUG=1 STATIC=1

gdb , , .


, - , , eclipse.
.

+3
1

-d (, , -g) . , DEBUG = 1 ,

+1

All Articles