This document is designed to accompany the “Eclipse And Java: Using the Debugger” video tutorial, which is available at http://eclipsetutorial.sourceforge.net/. Before starting this tutorial, please download the following files from the website:
? Debugger-Tutorial-Companion-Document.PDF – this document.
? debugger_tutorial_project.zip – zip file for importing the Eclipse “DebuggerTutorial” project. This is done as part of Lesson 1.
? debugger-lesson01.zip through debugger-lesson07.zip – zip files for the 7 lessons in the tutorial

Sample Java Application – Personal Lending Library
This is a small sample application to track our personal library of books. It includes a list of people to whom we loan our books. The application has four Java classes:
1. Person has fields for the person’s name and a number which will be the maximum number of books this person can borrow at one time.
2. Book has fields for title, author, and the person who is currently borrowing the book.
3. MyLibrary contains a list of all of our books and a list of all of the people who might borrow
them. It includes methods for checking books out to people and checking them back in. It also includes a main() method that simulates a user session. In the main() method, a new MyLibrary is created, books and people are created and added to it, and some books are checked out and check in. At various points, information about the MyLibrary object is printed to the system console.

Download pdf Eclipse and Java: Using the Debugger Companion Tutorial Document