From 77e77f88a31c9fe365d9ece903376b1104ebe2c1 Mon Sep 17 00:00:00 2001 From: Morgan Cyrus Date: Wed, 19 Oct 2022 19:25:01 -0700 Subject: Exercise 2 complete --- CST116-Ch9-Debugging/CST116-Ch9-Debugging.cpp | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/CST116-Ch9-Debugging/CST116-Ch9-Debugging.cpp b/CST116-Ch9-Debugging/CST116-Ch9-Debugging.cpp index fd89b4c..01ca7c2 100644 --- a/CST116-Ch9-Debugging/CST116-Ch9-Debugging.cpp +++ b/CST116-Ch9-Debugging/CST116-Ch9-Debugging.cpp @@ -52,12 +52,21 @@ * * 1) Run to Breakpoint 1. * 2) Step over the call to GetAge. +* done +* * 3) Step into CalcDays. +* done +* * 4) Step into one more time so that the current line is the * calculation. +* done +* * 5) Why is age greyed out in your watch window? +* there is no age variable in this calculation. It is being tracked from the main function, but not visible in this function. +* * 6) Stop debugging. -* +* done +* */ /* -- cgit v1.2.3