Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- F77(Microsoft (C) V4.0) - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

If you are familiar with previous Microsoft (R) debuggers (SYMDEB
or DEBUG), you will have little trouble using the CodeView debugger.

Once the CodeView display appears, you can start debugging. The primary
CodeView debugging commands are the same or very similar to the ones
used in SYMDEB and DEBUG. The most important commands common to both
the CodeView debugger and SYMDEB are listed below (all but the last
two are also available in DEBUG):

     If You Want to:            Do This:
     ---------------            --------
     Quit the debugger          Enter Q.

     Execute code a step        Enter T (for Trace) or P (for
     at a time                  Program Step).

     Execute your program       Enter G (for Go).

     Set a breakpoint           Enter BP (for Breakpoint Set)
                                followed by an address. An easy
                                way of specifying an address is
                                to type a dot followed by the
                                number of the source line where
                                the breakpoint will be. For
                                example, to set a breakpoint on
                                line 25, enter

                                       BP .25

     Dump a portion of memory   Enter D (for Dump) followed by the
                                address where you want the dump to
                                start. For example, enter

                                       D DS:100

     Examine a variable or      Enter ? followed by the variable or
     expression                 expression. For example, to view
                                the sum of sym1 and sym2 divided by
                                the constant 3, enter

                                       ? (sym1+sym2)/3

     View source code           Enter V followed by a dot and the
                                number of the first source line to be
                                viewed. For example, to view source
                                code starting at line 36, enter

                                       V .36

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson