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.
Option (links to explanatory section) |
Controls |
---|---|
-f[no-]instrument-functions |
Instrumentation of the generated output to provide function profiling information. |
-gformat |
The type of debugging information generated. |
-mchp-stack-usage |
The generation of stack usage information and warnings |
-mcodecov=memory |
Instrumentation of the generated output to provide code coverage information. |
-save-temps |
Whether intermediate files should be kept after compilation. |