Now, let's set breakpoints in the code before we launch the CourseManagement application. Open CourseDAO from the CourseManagementJDBC project and double-click in the left margin of the first line in the getCourses method:
Another way to set a breakpoint at a line is to right-click in the left margin and select Toggle Breakpoint:
You can also set breakpoints at the method level. Just place the caret inside any method, and select the Run |