Why and when to perform this task
To debug your application, you must use your application development tool (such as Rational 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.
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.
What to do next
To learn more about debugging, launch the Application Server Toolkit, select Help > Help Contents and choose the Debugger Guide bookshelf entry. To learn about known limitations and problems that are associated with the Application Server Toolkit, see the Application Server Toolkit release notes. For current information available from IBM Support on known problems and their resolution, see the IBM Support page.IBM Support has documents that can save you time gathering information needed to resolve this problem. Before opening a PMR, see the IBM Support page.