C/C++ Compiler (cl.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Preparing for Debugging
                                             ◄Up► ◄Contents► ◄Index► ◄Back►
─────C/C++ Compiler─────────────────────────────────────────────────────────
 
     Option   Function
 
     ◄/Zi►    Adds symbolic information to the object file for use with
              the Microsoft CodeView debugger.
 
     ◄/Zd►    Creates an object file containing only public symbols
              (global/external) and line numbers. This is useful
              if you want to save object/memory space for CodeView.
 
     ◄/Od►    Disables code optimization to help with debugging.
 
     ◄/Or►    Disables inline returns. This option can be helpful when
              using CodeView to set a breakpoint on the closing curly
              brace (}) of a function.
                                    -♦-