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 (Description)
◄Summary► ◄Example► ◄Notes► ◄Up► ◄Contents► ◄Index► ◄Back►
────────────────────────────────────────────────────────────────────────────
The Breakpoint Set (BP) command creates a breakpoint at a
specified address. Whenever a breakpoint is encountered during
program execution, the program halts and waits for a new command.
The BP command can set breakpoints at source lines, functions,
explicit addresses, or labels in any module of a program. If no
arguments are given, BP sets a breakpoint at the current line.
In the protected-mode version of CodeView (CVP), the BP command is
equivalent to the ~*BP command; that is, it applies to all threads
in the program.
See: ◄Use with Thread Command►
For any breakpoint, you can specify
■ A pass count to tell CodeView how many times to pass over the
breakpoint
OR
■ Commands to be executed after the program reaches the
breakpoint.
Breakpoints are numbered, beginning with the number 0. Each new
breakpoint is assigned to the next available number. Breakpoints
remain in memory until you explicitly delete them or until you
quit CodeView.
See: ◄Types of Breakpoints►
◄Breakpoint Clear (BC) Command-Window Command►
◄Breakpoint Enable (BE) Command-Window Command►
◄Breakpoint Disable (BD) Command-Window Command►
◄Breakpoint List (BL) Command-Window Command►
◄Watch Menu: Set Breakpoint Command►
◄Watch Menu: Edit Breakpoint Command►
-♦-