In this example, you use the F22 (Step Into) to step into the subprocedure Switch, which is in the module DEBUGEX.
Display Module Source
Program: DEBUGEX Library: MYLIB Module: DBGEX
141
142 *=============================================================
143 * Define the subprocedure Switch.
144 *=============================================================
145 P Switch B
146 D Switch PI
147 D Parm 1A
148 *---------------------------------------------------------
149 * Define a local variable for debugging purposes.
150 *---------------------------------------------------------
151 D Local S 5A INZ('aaaaa')
152
153 C IF Parm = '1'
154 C EVAL Parm = '0'
155 C ELSE
Debug . . . _________________________________________________________________
_______________________________________________________________________________
F3=End program F6=Add/Clear breakpoint F10=Step F11=Display variable
F12=Resume F17=Watch variable F18=Work with watch F24=More keys
Step completed at line 145.