Skip to content

Commit

Permalink
Update Debugging.md
Browse files Browse the repository at this point in the history
  • Loading branch information
memcmahon authored Oct 30, 2023
1 parent 6516541 commit ad6ceb8
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions module1/lessons/Week4/Debugging.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@ title: Debugging

## Warmup

> In your notebook, write about a time when you tried something and it didn't go as planned. How did you know things were going off course? Were you able to make adjustments and get back on track?
<section class='call-to-action' markdown='1'>

In your notebook, write about a time when you tried something and it didn't go as planned. How did you know things were going off course? Were you able to make adjustments and get back on track?

</section
As developers there will often be times when things are not working in just the way we want. It is a completely normal part of the process of writing code to come across issues and errors as we are developing.
Expand All @@ -21,9 +25,10 @@ A **bug** refers to any bit of code that is not functional. A bug might be preve
There are a lot of different approaches to debugging. Today, we are going to focus on using the tools that we have in our Visual Studio IDE.
```markdown
<section class='note' markdown='1'>
Fun Fact: According to programming lore, the first computer bug was [an actual bug 🪲](https://education.nationalgeographic.org/resource/worlds-first-computer-bug)
```
</section>


## Using Breakpoints

Expand Down Expand Up @@ -102,4 +107,4 @@ In this example, part of the code before the next breakpoint includes a `ReadLin
5 products = products + ", ear buds";
6
7 Console.WriteLine($"Current Inventory: {products});
```
```

0 comments on commit ad6ceb8

Please sign in to comment.