It’s the process of “stepping through” code either in chunks or line by line and seeing what’s going on. Say you have a function that’s returning an unexpected value, you can go through each line of your function as it executes and watch what happens to your variables to catch where the error is.
7
u/Karam2468 Mar 24 '21
What does debugging do anyways? Newbie here. Why and when shoud we use it?