Title: Learning Enrichment: Debugging with Print Statements
Course: CPS 161: An Intro to Programming with Java - DL MM MASTER > Section: Learning Units - Bb

Presentations and Videos

- Learning Enrichment: Debugging with Print Statements

- If you are having trouble figuring out why your program doesn't work, then it is possible that simply placing a strategic print statement will tell you a lot. It is good to have a meaningful output and it is also useful to incrementally add the print statements until it becomes clear what is really happening.
- In this Learning Enrichment you will see some interactive discussions between several characters in an attempt to use the print statement approach to figuring out what is wrong with a program.