4.6.5 Options for Debugging

The options shown in the table below control the debugging output produced by the compiler and are discussed in the sections that follow.

Table 4-22. Debugging Options
Option

(links to explanatory section)

Controls
-f[no-]instrument-functionsInstrumentation of the generated output to provide function profiling information.
-gformatThe type of debugging information generated.
-mchp-stack-usageThe generation of stack usage information and warnings
-mcodecov=memoryInstrumentation of the generated output to provide code coverage information.
-save-tempsWhether intermediate files should be kept after compilation.