Why and when to perform this task
In order to debug your application, you must use your application development tool (such as WebSphere Studio Application Developer) to create a Java project or a project with a Java nature. You must then import the program that you want to debug into the project. By following the steps below, you can import the WebSphere Application Server examples into a Java project.
There are two debugging styles available:
You need not import an entire program into your project. However, if you do not import all of your program into the project, some of the source might not compile. You can still debug the project. Most features of the debugger work, including breakpoints, stepping, and viewing and modifying variables. You must import any source that you want to set breakpoints in.
The inspect and display features in the source view do not work if the source has build errors. These features let you select an expression in the source view and evaluate it.
Steps for this task
Once you have added this JAR file, select it and use the Attach Source pushbutton to attach Increment.jar as the source - Increment.jar contains both the source and class files.