To debug a program, it must be compiled with debug information. Compiling a program with
debug information allows you to:
- Execute the program line by line.
- Run the program up to a certain point (a breakpoint).
- Inspect the contents of variables or memory locations while the program is running.