---
# System prepended metadata

title: 12/23 Period 2. CS Lecture. Software Engineering Fundamentals

---

# 12/23 Period 2. CS Lecture. Software Engineering Fundamentals

## Debugging
### For text learners
> A debugger or debugging tool is a computer program used to test and debug other programs (the "target" program). The main use of a debugger is to run the target program under controlled conditions that permit the programmer to track its execution and monitor changes in computer resources that may indicate malfunctioning code.

**Make sure you have the Python Debugger Extension Installed on VSCode**
- [ ] Install Python's Debugger Extension on VSCODE


![](https://i.imgur.com/4YYpgXV.png)
![](https://i.imgur.com/x6MIBlj.png)
![](https://i.imgur.com/YDfXshG.png)
![](https://i.imgur.com/LtsKVt4.png)
![](https://i.imgur.com/xc88ipB.png)
![](https://i.imgur.com/WsFgj9q.png)
![](https://i.imgur.com/N5ZDnnJ.png)


For more parameters, see the **[official documentation](https://code.visualstudio.com/docs/python/debugging)**

### For Visual Learners
[Watch this](https://www.youtube.com/watch?v=7qZBwhSlfOo&ab_channel=TechWithTim)



## Let’s use debugger to debug the following tasks
### Exercise 1
![](https://i.imgur.com/ufyLZN0.png)
### Exercise 2
![](https://i.imgur.com/G5YcKZe.png)
### Exercise 3
Create a program that does the following thing.
![](https://i.imgur.com/Qe1CO68.png)
