Developer Guide and Reference

Contents

debug (Windows*)

Enables or disables generation of debugging information.

Syntax

Linux:
None
macOS:
None
Windows:
/debug
[
:
keyword
]
Arguments
keyword
Is the type of debugging information to be generated. Possible values are:
none
Disables generation of debugging information.
full
or
all
Generates complete debugging information.
minimal
Generates line number information for debugging.
partial
Deprecated. Generates global symbol table information needed for linking.
[no]expr-source-pos
Determines whether the compiler generates source position information at the expression level of granularity.
[no]inline-debug-info
Determines whether the compiler generates enhanced debug information for inlined code.
For information on the non-default settings for these keywords, see the Description section.
Default
/debug:none