/Od (Disable (Debug))
Visual Studio .NET 2003
/Od
This option turns off all optimizations in the program and speeds compilation. This option is the default. Because /Od suppresses code movement, it simplifies the debugging process. For information on the compile-for-debugging options, see /Zi, /Z7, and /Zd.
To set this compiler option in the Visual Studio development environment
- Open the project's Property Pages dialog box. For details, see Setting Visual C++ Project Properties.
- Click the C/C++ folder.
- Click the Optimization property page.
- Modify the Optimization property.
To set this compiler option programmatically
See Also
/O Options (Optimize Code) | Compiler Options | Setting Compiler Options