What to Debug tab
About this task
Select the What to Debug tab to bring it to the foreground. Unless otherwise specified, all fields in this tab must be completed before a debugging session can be started.
| Group | Settings |
|---|---|
| Connection | In this section you select the name of an existing Remote System connection from the pull down menu. This connection must be for the IBM® i server that contains the job that you want to debug. If the connection has not yet been created, click New to launch a wizard that will allow you to create a new connection. |
| Job | In this section you enter fully qualified information about the job
that you want to debug:
You can use wildcards ('*') in any of these fields and then select Browse to retrieve a subset of the jobs available (active or in the queue) on the IBM i. From this list, you can select the job that you want to debug and its information will be used to fill in the above fields. Note: You must specify a unique
existing job on the IBM i,
otherwise an error message will display.
|
| Programs or service programs to be debugged | In this section you enter information about the programs and service
programs that you will debug. You can specify multiple programs. Click Add to
add a program or service program to the list. To debug a running application
and stop at the next executable statement, make sure there is no program or
service program specified in this section.
|
| Step into | If this check box is not selected, the debugger will stop at the first
encountered breakpoint. This could be a profile breakpoint (one that you set
in a previous debugging session) or a source breakpoint (one that you set
in the Debugger editor before starting to debug). If Step into is selected:
|
| Terminate debug session on program completion | If this is selected and a valid program (but not a service program) is specified as the initial program in the Programs or service programs to be debugged table, the debugging session ends when the program runs to completion. |
| Update production files | If the Update production files check box is selected, the application under debug will be allowed to update database records in production libraries. |