You can debug an iSeries Java program using the Java debugger for
iSeries, available from the iSeries launch configuration.
You need to export your class files, but not your source. You can
debug directly from the source in your workspace.
To debug your Java program using the remote iSeries launch configuration:
- Open a Java Perspective if one is not currently available: Click
.
- Click the down arrow next to the debug icon
on the workbench menu bar.
- Select Debug.
- In the Launch configurations, click Java application
in iSeries server.
- Click New.
- Optional: Give the configuration a name.
- Under the Main tab, fill in the name of
the project and the name of the Main class in your project. Also specify the
working or home folder on the iSeries server. This is the IFS folder containing
the remote Main class (including package, if applicable) which you specified
in the Main Class field.
- Click Debug.
The Java debugger for iSeries launches.
After you define a configuration, it appears as a shortcut in the
down-arrow menu.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.