CodeView (cv.hlp) (Table of Contents; Topic list)
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.
                                    -♦-