aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMorgan Cyrus <[email protected]>2022-10-12 20:15:14 -0700
committerMorgan Cyrus <[email protected]>2022-10-12 20:15:14 -0700
commit9718def9745607640e86d1e18862289241f1e6d7 (patch)
tree423b78ba4093d9f98fd121c93fff684e71040269
parentEntered breakpoints. (diff)
downloadcst116-ch7-cyrus-9718def9745607640e86d1e18862289241f1e6d7.tar.xz
cst116-ch7-cyrus-9718def9745607640e86d1e18862289241f1e6d7.zip
Looking for issue with code
-rw-r--r--CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp10
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.