Debugging

Use the Debugging panel to specify the debugging settings for the project.

The table below lists and describes the various options available on the Debugging panel.

Table 1. Tool Settings - Debugging
Option Description
Debug level Specify the debug levels:
  • None - No Debug level.
  • Minimal ( -g1) - The compiler provides minimal debugging support.
  • Default ( -g) - The compiler generates DWARF 1.x-conforming debugging information.
  • Maximum ( -g3) - The compiler provides maximum debugging support.
Debug format Specify the debug formats for the compiler.
  • dwarf-2 - Generates DWARF 2.x-conforming debugging information.
  • stabs - Generates STABS-conforming debugging information.
Other debugging flags Specify the other debugging flags that need to be passed with the compiler
Generate prof information (-p) Generates 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) Generates 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.