![]() |
![]() |
![]() |
Restriction: This dialog box applies only when debugging on the AS/400.
Use the Debugger Settings dialog box to modify debugger environment settings, JVM creation settings, and BCI job creation settings.
Jobs that are running on the AS/400 are either BCI (enabled to run a threaded application) or interactive (enabled to run an application with input/output). BCI jobs are also referred to as batch immediate or batch jobs. Both BCI and interactive jobs can be attached to by the debugger. When a non-Java application is loaded into the debugger, a BCI job is automatically created on the AS/400. When a Java class is loaded into the debugger, an interactive JVM is created.
Note: Interactive applications should not be run in a BCI job.
Debugger settings are gathered into related groupings. To see and gain access to all possible areas of debugger settings, expand the display tree shown in the left part of the Debugger Settings dialog box.
Settings groupings and controls in these groupings are described below. Control group and subgroup names appear in italics, and control names appear in bold.
Session Settings | Debugger environment settings appear when Session
Settings is selected. Controls in this group are:
|
||||||||
JVM Creation Settings | Use this group to specify the CLASSPATH variable for the JVM
in which classes under debug will execute. The CLASSPATH variable indicates to the JVM
which IFS directories to search for the Java classes. Controls in this group are:
|
||||||||
JVM Creation Settings->Environment Variables | Use this group to specify all AS/400 environment variables
other than CLASSPATH for the job in which the Java Virtual Machine will run on the AS/400. To add an environment variable, click on the Variable and Value cell fields of the initial highlighted row and make the appropriate entries. To add additional variables, press the keyboard Insert key to create rows for as many variables as you wish to add. To edit variable names or values, click on the appropriate table cell and change the cell contents. To delete a variable and its value, select the appropriate row, and press the keyboard Delete key. Note: AS/400 environment variable names and values may not contain blanks. The environment variable value may not be an empty string. |
||||||||
JVM Creation Settings->JNI Library List | Use this group to specify the libraries the debugger should
search to locate programs on the AS/400. This group is useful when debugging Java
applications that make JNI and program calls. The first 20 valid AS/400 libraries will be added to the Library List. To add a library, click on the first Library List cell field and make the appropriate entries. To add additional libraries, press the keyboard Insert key to create rows for as many libraries as you wish to add. To edit library names, click on the appropriate table cell and change the cell contents. To delete a library from the library list, select the appropriate row, and press the keyboard Delete key. Other controls in this group are:
|
||||||||
JVM Creation Settings->Properties | Specify property names and values that will be passed to the
Java Virtual Machine. These can be retrieved by the Java program running on the AS/400.
(See your Java documentation for more information.) To add a variable, click on the Variable and Value cell fields of the initial highlighted row and make the appropriate entries. To add additional variables, press the keyboard Insert key to create rows for as many variables as you wish to add. To change variable names or values, click on the appropriate table cell and change the cell contents. To delete a variable and its value, select the appropriate row, and press the keyboard Delete key. Note: Property names and values may not contain blanks. The property value may not be an empty string. |
||||||||
Batch Job Creation Settings | There are no controls in this settings grouping. | ||||||||
Batch Job Creation Settings->Environment Variables | Use this group to specify all AS/400 environment variables
and their values for the batch immediate job which has been created on the AS/400, and
where the application under debug will execute. Use this group if you did not specify the
job number in the Load Program dialog. Note: Interactive applications should not be executed in the batch immediate job. To add an environment variable, click on the Variable and Value cell fields of the initial highlighted row and make the appropriate entries. To add additional variables, press the keyboard Insert key to create rows for as many variables as you wish to add. To edit variable names or values, click on the appropriate table cell and change the cell contents. To delete a variable and its value, select the appropriate row, and press the keyboard Delete key. Note: AS/400 environment variable names and values may not contain blanks. The environment variable value may not be an empty string. |
||||||||
Batch Job Creation Settings->Library List | Use this group to specify the libraries the debugger should
search to locate programs on the AS/400. The first 20 valid AS/400 libraries will be added to the Library List. To add a library, click on the first Library List cell field and make the appropriate entries. To add additional libraries, press the keyboard Insert key to create rows for as many libraries as you wish to add. To edit library names, click on the appropriate table cell and change the cell contents. To delete a library from the library list, select the appropriate row, and press the keyboard Delete key. Other controls in this group are:
|
||||||||
Debugger Settings Push-buttons |
|