diff options
Diffstat (limited to 'CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp')
| -rw-r--r-- | CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp b/CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp index f64adfe..9f6082c 100644 --- a/CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp +++ b/CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp @@ -7,11 +7,21 @@ * Debugging Exercise 1
*
* 1) Insert a breakpoint on the lines indicated in the code.
+* done
+*
* 2) Run to Breakpoint 1.
+* done
+*
* 3) When prompted, enter your age.
+* Done
+*
* 4) When the execution stops, add a watch on age and verify that
* the value in age is what you typed in.
+* verified
+*
* 5) Step over the if statement.
+* Done; age now == 1
+*
* 6) Why did the value in age change?
* 7) Fix the problem and repeat Steps 2 � 5 to verify the
* problem was corrected.
|