Select this tab if you want to debug an interpreted program, for
example, interpreted Java.
Enter the class name containing main to be invoked
|
This field incorporates a selection list containing
the names of programs recently loaded into the Debugger. Select any
name from this list to load that program into the Debugger.
To select a program not named in this list, do one of the
following:
- If you know the name and path of the program, type that name
and path into this field.
- Click Browse, then use the controls in the
resulting class-selection window to find and select a class.
|
Dominant language the debugger will use |
Select a language from the selection list. Terms used
in Debugger menus and dialog boxes will be appropriate for the
language you select.
If only one interpreted language is supported for debugging, the
selection list is disabled. |
Advanced |
Click Advanced to open the Source
Search Path dialog box. This dialog box tells the Debugger where to
look for source files associated with the program you are debugging. |
Enter any program parameters
|
Enter arguments you want to pass to the selected
program into this text field. For example, if your program is
designed to read a file name and the /xyz option from the parameter
list in that order, enter:
filename /xyz
|
Enter any JVM Program Arguments |
Enter any supported advanced Java Virtual Machine
(JVM) arguments that apply to the program being debugged. Using
unsupported arguments will cause the Debugger to close. |
Select startup behavior |
You can choose to invoke any combination of the
following start-up options when your program is loaded into the Debugger:
Use program
profile |
Check this box if you want to use the
breakpoint, monitor, and Application Preferences settings that
were associated with your program during your last Debugger
session. If you are
debugging your program for the first time, the Debugger uses the default
Application Preferences settings, with no initially set
breakpoints. Checking this box will also associate and save any changes you
make to the monitors and breakpoints with your program when you end your
Debugger session.
Attention: If you add or delete lines in
your source file, recompile it, and then debug the program
again with a saved program profile, line breakpoints may no
longer match the code they were initially set for because line
breakpoint information is saved by line number, not by the
content of the line. |
|
Environment variables for the program to be
debugged |
Use invoking command window
environment |
Select this option to use the
environment of the command window. |
Use this application's previous
session environment |
Select this option to use the
environment of the previous Debugger session for this
application. |
Use the initial Debugger
(startup) environment |
Select this option to use the
default Debugger environment. This option is the default
selection of these three options. |
|
Select local or remote execution of the program |
Select one of the following options to define the
location in which the program being debugged will run.
Local |
If you select this check box, all program
execution and debugging takes place on the local system. |
TCP/IP Connection |
If you select this check box, program execution and I/O
takes place on a remote system while debugging control and
display remains on the local system. If you choose this
option, you must have started a debug engine daemon on the
remote system using the irmtdbgj command with engine_daemon_parameters.
You must also provide the following information regarding the
remote system:
Host |
This field provides a selection list
containing the names of remote hosts recently used by
the Debugger. Select any remote host name from this
list. If the remote host you want to use is not named in
the list, type the name of that host into this field. |
Port |
Enter the port number the remote debug
engine daemon is listening on. If you do not specify a
port, the default is port 8000. |
Remote debugging imposes the following limitations:
- Halt is not supported when remote
debugging.
- Browse will only display local file
systems.
|
|