Click Debug on the menu bar to select the following:
Start Debug
Initiates a debugging session for a specified job and or program. This option is disabled once a debugging session has been initiated.
Shortcut key: F4
This function is also available from the context menu and the toolbar.
End Debug
Ends the current debugging session. This option is only available when the Start Debug command is issued from the System Debugger client.
Shortcut key: Shift+F4
This function is also available from the toolbar.
Start PASE Debug
Initiates a PASE debugging session for the current job and or program. A second debug tab will appear for the PASE debugging session. This option is useful if the current job has both ILE and PASE attributes.
Shortcut key: Alt+F4
Pause - Next PASE Transition
Prepares the PASE debugging session for a pause operation. If the current job transitions from ILE to PASE, the PASE debugging session will automatically pause.
Shortcut key: Ctrl+F3
This function is also available from the toolbar.
Add Program Object
Adds a *PGM, *SRVPGM, or class file to the current debugging environment.
Shortcut key: F2
This function is also available from the context menu and the toolbar.
Remove Program Object
Removes a loaded *PGM, *SRVPGM, or class file from the list of objects in the debugging environment. This option is only available if a program object or class file is selected on the Programs pane.
Shortcut key: Shift+F2
This function is also available from the context menu and the toolbar.
End Program
Ends debug of the current program. This option is only available if the debugging environment was started from the Submit and debug program in batch job debug option or from an emulation session.
Shortcut key: Shift+F3
This function is also available from the context menu.
Pause
Stops running of the current program. This option is only available when you are running a program initiated from the client and serviced by a debug server job.
Shortcut key: F3
This function is also available from the toolbar.
Resume
Resumes normal program processing. This option is only available if a program is currently stopped due to debugging operations.
Shortcut key: F12
This function is also available from the toolbar.
Step Over
Steps from the current debug position to the next logical source line. If this is a function call, the program stops directly after the function call unless there is a breakpoint within the current function call. This option is only available if a program is currently stopped due to debugging operations.
Shortcut key: F11
This function is also available from the context menu and the toolbar.
Step Over - Skip Breakpoints
Steps from the current debug position to the next logical source line. If this is a function call, the program stops directly after the function call. Breakpoints within the function call will be ignored. This option is only available if a program is currently stopped due to debugging operations.
Shortcut key: Alt+F11
This function is also available from the context menu and the toolbar.
Step Into
Steps from the current debug position to the next logical source line. If this is a function call, the program stops at the first line of code inside the function call. This option is only available if a program is currently stopped due to debugging operations.
Shortcut key: Shift+F11
This function is also available from the context menu and the toolbar.
Step OutOf
Step out of the current function to the next logical source line after the function call. This option is only available if a program is currently stopped due to debugging operations.
Shortcut key: Ctrl+F11
This function is also available from the context menu and the toolbar.
Step OutOf - Skip Breakpoints
Step out of the current function to the next logical source line after the function call, ignoring any breakpoints that occur before reaching the step out position. This option is only available if a program is currently stopped due to debugging operations.
Shortcut key: Ctrl+Alt+F11
This function is also available from the context menu and the toolbar.
Run to Cursor
Begins program processing and runs until one of the following occurs:This option is only available if a program is currently stopped due to debugging operations.
- The program ends
- The program reaches the line of code with the current cursor position
- The program encounters a breakpoint
Shortcut key: Shift+F12
This function is also available from the context menu and the toolbar.
Run to Cursor - Skip Breakpoints
Begins program processing and runs until the program ends or the program reaches the line of code with the current cursor position. Any breakpoints will be ignored. This option is only available if a program is currently stopped due to debugging operations.
Shortcut key: Alt+F12
This function is also available from the context menu and the toolbar.