CodeView (cv.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.
Source Display Mode (Description)
 Summary Example                         Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     The Source Display Mode (S) command sets one of three modes in
     which code is displayed:
 
     Mode         Command     Program Display
 
     Source       S+          Source lines
 
     Assembly     S-          Assembly-language instructions
 
     Mixed        S&          Both source lines and assembly-language
                              instructions
 
     With no argument (S), the command displays the current mode:
     Source, Assembly, or Mixed.
 
     CodeView outputs the name of the new display mode: Source,
     Assembly, or Mixed.
 
     Source and Mixed modes are only available if the executable file
     contains symbols in the CodeView format. To include these
     symbols, you must compile and link programs as shown below:
 
        ■ For PWB: Choose the Debug Build or Release Build command
          from the Options menu, and select the CodeView option
          in the Debug Info box.
 
        ■ On the compiler command line: Compile with the /Zi option.
 
     NOTE: Programs that do not contain symbolic information are
           displayed in Assembly mode.
                                    -♦-