diff options
| author | Morgan Cyrus <[email protected]> | 2022-10-06 22:28:05 -0700 |
|---|---|---|
| committer | Morgan Cyrus <[email protected]> | 2022-10-06 22:28:05 -0700 |
| commit | 8f9339ad23704287bfca86d6fb3df73d305f0b0e (patch) | |
| tree | 9c7212c2862ed3d87ba3a487b2e2ef8b833ad356 /Ch 5 Debugging Project/Ch 5 Debugging Project.cpp | |
| parent | Breakpoints entered. (diff) | |
| download | cst116-ch5-debugging-cyrus-8f9339ad23704287bfca86d6fb3df73d305f0b0e.tar.xz cst116-ch5-debugging-cyrus-8f9339ad23704287bfca86d6fb3df73d305f0b0e.zip | |
step into testing
Diffstat (limited to 'Ch 5 Debugging Project/Ch 5 Debugging Project.cpp')
| -rw-r--r-- | Ch 5 Debugging Project/Ch 5 Debugging Project.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Ch 5 Debugging Project/Ch 5 Debugging Project.cpp b/Ch 5 Debugging Project/Ch 5 Debugging Project.cpp index 8f3a852..7f5dfed 100644 --- a/Ch 5 Debugging Project/Ch 5 Debugging Project.cpp +++ b/Ch 5 Debugging Project/Ch 5 Debugging Project.cpp @@ -1,7 +1,7 @@ /*
* Morgan Cyrus
* CST116 01P
-* Lab0 Debugging
+* Lab0/CH5 Debugging
*/
/********************************************************************
@@ -16,17 +16,22 @@ * done
* 2) With the program not in debugging mode, start debugging by
* using the "Step Into" tool.
-*
+* done
* 3) Click on the Watch1 tab.
+* done
* 4) With the cursor in the Name column type money and press enter.
* This adds a programmer defined watch on the variable money.
+* done
* 5) Step Into until you reach the first cout statement. With
* the current line being that cout statement, Step Into again.
+* done
* 6) What happened? Where are we now? What is all of this nasty
* looking code?
+* We are on line 84. the value of 'money' is about to be printed (123.449997 is the assigned value, though it will print 123.45)
* 7) Remember, stepping into a predefined routine takes you to the
* code for that routine. If the debugger can't find the code it
* will show the assembly code for that routine.
+* done, though I did not see the assembly code pop up anywhere.
* 8) How do we get out of this mess? Use the "Step Out" tool.
* 9) In Visual Studio you will be taken back to the same cout
* statement. Use the Step Over tool to take you to the next
|