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.
Option (links to explanatory section) |
Controls |
---|---|
-g |
The type of debugging information generated. |
-mchp-stack-usage |
The generation of stack usage information and warnings. |
-mcodecov |
Instrumentation of the output to provide code coverage information. |
-Q |
Printing 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. |