You can access most Debug menu commands in other ways: by using a keyboard shortcut, by right-clicking appropriate objects, or by using the tool bar. Only Debug menu commands that have an icon appear on the tool bar.
The Debug menu contains the following commands.
Start Debug
Starts a debugging session for a specific process or program.
End Debug
Ends the current debugging session.
Restart Debug
Restarts the current debugging session at the beginning of the program.
End Process
Ends the process that you are currently debugging.
Edit Debug Options
Displays the Debug Options dialog that enables you to change the current debug options.
Pause - Next ILE Transition
Prepares the ILE debugging session for a pause operation. If the current job transitions from PASE to ILE, the ILE debugging session will automatically pause.
Pause
Pauses running the current program so that you can examine variables, registers, and so on.
Resume
Resumes normal program processing.
Step Over
Step 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.
Step Over - Skip Breakpoints
Step 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.
Step Into
Step 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.
Step Out
Step out of the current method to the next logical source line after the method invocation.
Step Out - Skip Breakpoints
Step out of the current method to the next logical source line after the method invocation, ignoring any breakpoints that occur before reaching the step out position.
Run to Cursor
Begins program processing and runs until one of the following occurs:
- The program ends
- The program reaches the line of code with the current cursor position
- The program encounters a breakpoint
Run to Cursor - Skip Breakpoints
Begin 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.
Assembler Step
Runs one machine instruction and adds the assembly code area to the Source window, if the area is not already displayed.
Show Disassembly
Adds an assembly code area to the Source window that displays the assembler instructions associated with the current position in the program.
Hide Disassembly
Remove the assembly code area from the Source window.