3.6.5 Options for Debugging

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

Table 3-14. Debugging Options
Option

(links to explanatory section)

Controls
-gThe type of debugging information generated.
-mchp-stack-usageThe generation of stack usage information and warnings.
-mcodecovInstrumentation of the output to provide code coverage information.
-QPrinting of diagnostics associated with each function as it is compiled and statistics about each pass on conclusion.
-save-temps[=dir]Whether, and where, intermediate files should be kept after compilation.