Skip to content

Commit 2dea8b0

Browse files
committed
minor fixes billy noticed
1 parent 135469c commit 2dea8b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/pages/learn/01_tutorial/08_more-resources/02_debugging.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ void magic() {
6464

6565
I've (improperly) implemented the magic method. It's supposed to multiply six times seven and get 42. However, that's not what happens. After (not) much investigation, I am baffled and realize I want to know what the values of `part1` and `part2` are on line 5.
6666

67-
That's what a breakpoint is for. It lets me tell the debugger to pause the program there and let me poke around. How do I set a breakpoint you ask? In the left bar near your code, you can double click (or right click and chose to turn on the breakpoint.) A little circle will appear showing the breakpoint i set.
67+
That's what a breakpoint is for. It lets me tell the debugger to pause the program there and let me poke around. How do I set a breakpoint you ask? In the left bar near your code, you can double click (or right click and chose to turn on the breakpoint.) A little circle will appear showing the breakpoint I set.
6868

6969
```java
7070
public class Answer {
@@ -76,7 +76,7 @@ public class Answer {
7676
}
7777
```
7878

79-
When the debugger stops on line 5, I see that part2 is the seven that I expected. However part1 is five, not six. I found the bug! Thanks to the debugger allowing me to set a breakpoint.
79+
When the debugger stops on line 5, I see that `part2` is the seven that I expected. However `part1` is five, not six. I found the bug! Thanks to the debugger allowing me to set a breakpoint.
8080

8181
<a id="usage">&nbsp;</a>
8282
## How can debuggers be used?

0 commit comments

Comments
 (0)