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.
Breakpoint Set (Example)
 Summary Description Notes             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
          BP .47
 
     The example above sets a breakpoint at line 47 of the currently
     executing module.
 
          BP 23F0:3C84
 
     The example above sets a breakpoint at address 23F0:3C84.
 
          BP CS:368A
 
     The example above sets a breakpoint at offset 368A from the
     segment stored in the CS register.
 
          BP mymod!.47?myptr == 0
 
     The example above sets a breakpoint on line 47 of the module
     named 'mymod'. The breakpoint is taken only if the value of
     'myptr' is equal to zero.
 
          BP stats 10 "?counter += 1"
 
     The example above creates a breakpoint at the address of the
     function stats. CodeView passes over the breakpoint nine times
     and takes it on the 10th pass. Each time execution stops for the
     breakpoint, the Display Expression (?) command increments
     'counter'. If 'counter' is set to 0 when the breakpoint is set,
     'counter' counts the number of times the breakpoint is taken.
                                    -♦-