Developer Guide and Reference

Contents

Zo

Enables or disables generation of enhanced debugging information for optimized code.

Syntax

Linux and macOS:
None
Windows:
/Zo
/Zo-
Arguments
None
Default
OFF
The compiler does not generate enhanced debugging information for optimized code.
Description
This option enables or disables the generation of additional debugging information for local variables and inlined routines when code optimizations are enabled. It should be used with option
/Zi
or
/Z7
to allow improved debugging of optimized code.
Option
/Zo
enables generation of this enhanced debugging information. Option
/Zo-
disables this functionality.
For more information on code optimization, see option
/O
.
Alternate Options
None