You can stop program execution at any point by setting a breakpoint, allowing the status of variables and registers to be examined. A breakpoint can only be set on an executable line of code; it cannot be set at a comment or variable declaration, for example.
Start the program to be debugged and set the breakpoint when debugging enters start status. To set a breakpoint at a line, position the mouse pointer on the line number in the source program and click the left mouse button.
A breakpoint can also be set as follows:
or select the
'Breakpoints' command from the Debug menu to display
the Breakpoints dialog box (see the figure below).
To delete a breakpoint at a line, position the pointer on the line number in the source program (indicated with a flag) and click the left button.
A breakpoint can also be deleted as follows:
or select the
'Breakpoints' command from the Debug menu to display
the Breakpoints dialog box.All breakpoints can be deleted as follows:
or select the
'Breakpoints' command from the Debug menu to
display the Breakpoints dialog box.