| Visual C++ Debugging | PAGE (4 of 6) |
| The previous debugging session may need to be stopped and restarted at this point in order to set breakpoints. |
Now click on the breakpoint toggle button (
) or hit F9.
You should see a big red dot appear to the left of the line you selected.
) or hit F5.This will cause the program to run until it reaches the next breakpoint.
Set another breakpoint further along in the code. Then repeat this procedure to get to the next breakpoint.

) or hit F9 to remove
the breakpoint.
They are commonly used to halt the program during loop execution.
To make a conditional breakpoint, select Breakpoints from the Edit menu (Alt + F9).

Now click the Condition button and type the Boolean expression that you wish to check, as the example shown in the following image:
| © CS Dept Va Tech, 1997. |
All rights
reserved.
|