When you develop programs with Rational® Developer
for System z®, you use the
Debug perspective to handle either of two cases:
- You use a z/OS-based debugging engine to debug code in an MVS™ subproject,
which must be in online state; or
- You use a workstation-based debugging engine to debug code in
a local project.
Your debugging experience is similar for the local code and for
the z/OS-based code. In either case, you can do the following tasks:
- Set and clear breakpoints at a specific line.
- Set and clear breakpoints for an error or warning-level error
that is based on Language Environment® severities.
- Run to a breakpoint.
- Step into a procedure.
- Step over a procedure.
- View variable values and change them as you step through the code.
- View variable values in the context of a larger area of storage.
- View the call stack.
Before beginning to debug applications, verify the setting of the Build
(if required) before launching debug option:
- From the workbench menu bar, click Window > Preferences.
- In the left pane of the Preferences window, expand Run/Debug and
click Launching.
- Look for Build (if required) before launching. If
this option remains in the default state, which is selected, any time
you debug or run a compiled application, compilations will be executed
resulting in performance degradation. You may want to clear the option
and manually build the code you want to debug before you launch a
debugging session or run an application.