Debugging

Interesting anecdote: most programmers spend more time debugging than writing code!

Steps to debugging

Identifying a bug

There are many different strategies possible (the one detailed above is just one of them)

Finding the bug

Using the debugger

Some common functionalities in a debugger