Properties, C/C++ Settings, Tools Settings, Debugging

Set the debugging level for your build configuration

Option Description
Debugging level Build with debugging level:
- None [default for Release]
- Minimal (-g1)
- Default (-g)
- Maximal (-g3) [default for Debug]
Other flags Other debugging flags
Generate prof information (-p) Generate extra code to write profile information suitable for the analysis program prof. You must use this option when compiling the source files you want data about, and you must also use it when linking.
Generate gprof information (-pg) Generate extra code to write profile information suitable for the analysis program gprof. You must use this option when compiling the source files you want data about, and you must also use it when linking.
Generate gcov information (-ftest-coverage -fprofile-arcs) Check this flag if you want to enable Profile Code Coverage in your application.