Programming Tools & Computer Science I

CSC 185 & 201, Spring 2013, Northern Virginia Community College

Week 6: Interactive debugger usage

2013-02-19

We're going to go over how to use the NetBeans debugger, with an emphasis on helping us understand programs (rather than actually finding bugs).

Exercises

We'll look at an example that prints prime numbers. Run it in the debugger, stepping through, and paying special attention to scope, values of local variables, and method usage.

Get the example from the examples/debugger-examples project (available in the course materials zip).

Readings