Before you begin, you must complete Exercise 5.11: Setting watch breakpoints.
To close the debugger:
- Click the Resume icon on the Debug toolbar.
The application waits for input from the 5250-emulation session.
- Switch to the 5250 emulation session.
- Press F3 to end the job.
- A message Program terminated appears:

Click OK.

- Right-click the Debug icon on the top right of the
workbench.
- Click Close on the pop-up menu to close the Debug
perspective.
Now you are ready to review your knowledge of this module by taking the
quiz. You can also apply what you have learned in this module by
completing the practice tasks detailed in More practice.
Quiz
- You can start the debugger:
- From the Remote Systems view
- Launch Configurations window
- Both
- You can only set breakpoints at executable lines. (T, F)
- To set a breakpoint you:
- Right-click on the line and click Add Breakpoint on the pop-up
menu.
- Double-click in the prefix area.
- Right-click in the Breakpoints view and click Add Breakpoint on the pop-up
menu.
- Right-click in the prefix area and click Add Breakpoint on the pop-up
menu.
- All of the above
- You can change variables and indicators in the:
- Remote Systems view
- Debug view
- Monitors view
- Source view
- All of the above
- The debugger allows you to:
- Step over a program call
- Step into a called program
- Both
- The Debug view lists all call stack entries. It contains a tree
view for each thread. (T, F)
- You can perform which actions on breakpoints:
- Delete
- Add
- Disable/Enable
- Edit
- All of the above
- Adding a storage monitor for a variable allows you to view the storage
starting with the address where the variable is located. (T, F).
- The Storage monitor supports these display formats:
- Hexadecimal and text
- Character
- Text only
- Decimal
- A and B
- A _________ breakpoint provides a notification to a user when a variable
changes. It will suspend the execution of the program until an action
is taken.
- Watch
- Line
- Conditional
More practice
Given your experience in working with the debugger features, in your own
source, try setting, changing, deleting, enabling, disabling line breakpoints,
setting watch breakpoints, displaying and changing variables and viewing the
call stack as you debug your program. Use the product online help to
assist you in these tasks.
Module recap
You have completed Module 5. Debugging a program. You have learned how to:
- Invoke the debugger from the Launch Configurations window
- Add a breakpoint
- Add a conditional breakpoint
- Edit a breakpoint
- Monitor a variable through the Monitors view
- Step into your payroll program
- Show a listing view
- List the call stack entries in the Debug view
- View all breakpoints
- Remove a breakpoint
- Monitor storage
- Set a watch breakpoint
- Close the debugger
You have mastered debugging your program and now you learn how to define
filters and perform actions. Continue with Module 6: Exploring Remote System Explorer.
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.