The following debug tutorial helps you gain experience using JBuilder’s debugger. We cannot stress enough how important it is to learn the features of the debugger. Debugging is really about making the coding environment find the error for you.
The application we have written takes user input of food items and adds them to a JList list box. Although this seems simple enough, it is filled with syntax and runtime errors.
We will take you through debugging compile-time errors, runtime errors, and logic errors.
In this step, you open the example project and the source code file that contains errors.
To open the example project
Select File, Open Project from the JBuilder menu.