From 9718def9745607640e86d1e18862289241f1e6d7 Mon Sep 17 00:00:00 2001 From: Morgan Cyrus Date: Wed, 12 Oct 2022 20:15:14 -0700 Subject: Looking for issue with code --- CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) 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. -- cgit v1.2.3