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 | |
| 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')
| -rw-r--r-- | Ch 5 Debugging Project/Ch 5 Debugging Project.cpp | 9 | ||||
| -rw-r--r-- | Ch 5 Debugging Project/Debug/Ch 5 Deb.57683855.tlog/link.read.1.tlog | bin | 7534 -> 7090 bytes | |||
| -rw-r--r-- | Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.exe | bin | 53760 -> 53760 bytes | |||
| -rw-r--r-- | Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.ilk | bin | 504868 -> 548584 bytes | |||
| -rw-r--r-- | Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.obj | bin | 82711 -> 82711 bytes | |||
| -rw-r--r-- | Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.pdb | bin | 1789952 -> 2109440 bytes |
6 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
diff --git a/Ch 5 Debugging Project/Debug/Ch 5 Deb.57683855.tlog/link.read.1.tlog b/Ch 5 Debugging Project/Debug/Ch 5 Deb.57683855.tlog/link.read.1.tlog Binary files differindex aa74b90..3b85ce5 100644 --- a/Ch 5 Debugging Project/Debug/Ch 5 Deb.57683855.tlog/link.read.1.tlog +++ b/Ch 5 Debugging Project/Debug/Ch 5 Deb.57683855.tlog/link.read.1.tlog diff --git a/Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.exe b/Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.exe Binary files differindex 1a57f57..80b8bc1 100644 --- a/Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.exe +++ b/Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.exe diff --git a/Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.ilk b/Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.ilk Binary files differindex 5c43e0e..30faf5a 100644 --- a/Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.ilk +++ b/Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.ilk diff --git a/Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.obj b/Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.obj Binary files differindex 4d55dfc..ed111eb 100644 --- a/Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.obj +++ b/Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.obj diff --git a/Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.pdb b/Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.pdb Binary files differindex e3f30b3..1cb16f0 100644 --- a/Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.pdb +++ b/Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.pdb |