Programming Tools & Computer Science I

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

Week 6: Interactive debugger usage


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).


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).