Debug perspective
Collection of editor and views
Users can customize the
perspective
Views can be re-sized and re-
positioned through drag and drop
Views can be closed
Views can be added
Use Save Perspective As… to save
customized perspective
8
.

the
communication between debug
client and debug server will be
through SSH tunnel. Secure connection for debug session
 If you use SSL support for a
RSE connection.
9
.
This feature is only available on
OS400 V6R1 and later version.

Service Entry Points
 Service Entry Points for ILE on V5R2 or later
– You know the program you want to debug but the
program gets started in a server environment
– You know the userid the program will be running
under
– You don’t know the job name where the program will
be running
11
.

except RSE server job
 From the Service Entry Points view
– In the pop-up menu. select the program. or procedure
– In the pop-up menu. select Debug (Service Entry) > Set Service Entry
Point
– Run the application from anywhere. Setting Service Entry Points
 From the Remote System Explorer
– In the Remote Systems view. service program.
module. or press the toolbar button
– Fill in the Set Service Entry Point dialog
– Run the application from anywhere
13
. select Set.

Modify. Service Entry Points view
Service Entry Points view is automatically displayed when Service Entry Point set.
Otherwise display from
Window > Show view > Other > IBM i > IBM i Service Entry Points
 List of all Service Entry Points set from the RSE
 Pop-up menu to work with Service Entry Points
– Set. Enable/Disable
 Pull down menu to Clear all or selected Service Entry Points
14
. Refresh. Remove.

15
. Service Entry Points -Refresh
 Service entry points not valid after program is recompiled.
Use Refresh in IBM i Service Entry Points view to re-set the
service entry points.

Service Entry Points .
16
.Modify
 When Service Entry Point is
set.
 If you want to debug a job
running under user profile
other than this RSE logon ID. its user profile property
(user whose job is going to hit
the Service Entry Point) is set
to the user ID used to logon to
RSE connection.
you can modify the SEP to set
to the proper user profile.

Program Execution
 Step Into
– Debug the next call level
 Step Over
– Run the next call level and stop at the next statement
 Step Return (for ILE on V5R3 or higher)
– Run until you are back in the previous call level and stop at the next statement
 Resume
– Run until an event is encountered
 Run To Location
– Run and stop at the current cursor position or until an event is encountered
 Suspend
– Halt program at point of execution
 Terminate
– End the debug session
19
.

 Variables view automatically displays all variables of current scope. local variables support is available for ILE RPG and ILE COBOL. Variables view
 In V5R3 or later. for C
and C++ also in earlier releases.
25
.

Source Locator Scenario
Development system Production system
PGM A PGM A
source object
Debug
Debug source locator
34
.

Launch Configuration – source location
If source remains in the original library (compilation time).
Moved to a different folder
Resides on a different IBM i
Source locator can be specified from Source tab of launch
configuration
35
. use Remote Folder source locator. RTC for Power.
debugger will find it
If source member has been moved since compile occurred. etc
If IFS source is moved.
use source locator (next slide)
Moved to a different library
Resides on a different system.