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.
Debugging: The Basics
                                             ◄Up► ◄Contents► ◄Index► ◄Back►
────────────────────────────────────────────────────────────────────────────
 
     When you debug programs with the Microsoft(R) CodeView(R)
     debuggers, follow these steps:
 
       1. Set up the information that you want to see on the CodeView
          screen. For example,
 
             ■ Select how to ◄view your source program►
 
             ■ To view ranges of memory, ◄open Memory windows►
 
             ■ To view registers, ◄open the Register window►
 
             ■ To view changes in program variables,
               ◄set watch expressions► in the watch window
 
       2. ◄Set breakpoints► to tell CodeView where and under what
          conditions to pause during program execution.
 
       3. Run the program, observing changes in local variables, watch
          expressions, registers, and memory. You can single-step
          through the program (◄tracing into► or ◄stepping over►
          functions), or you can ◄execute the program►, pausing at each
          breakpoint.
                                    -♦-