Before you begin, you must complete Exercise 7.5: Viewing the call stack.
To close a debug session:
- Click Resume on the Debug toolbar.
The session will stop at the first breakpoint on line 8.
- Click Resume again.
The session will stop at the breakpoint on line 32.
- Click Resume again.
- Click OK on the Program terminated window.
Next, close the Debug perspective.
- Right-click the Debug icon.
- Click Close on the pop-up menu.

- Switch to the Remote System Explorer perspective to remove the Service
Entry Point on GETDATA.*pgm.rpg.
- Drill down to s400a > iSeries Objects > Library List > WSSLABXX >
GETDATA.*pgm.rpg
- Right-click on GETDATA.*pgm.rpg
- Click Debug (Service Entry) > Remove Service Entry Point on the
pop-up menu.
You have run the program to termination.
Module recap
You have completed Module 7. Debugging a Web application. You have learned how to:
- Recognize the features of the iSeries Integrated Debugger
- Start a debug session with service entry points
- Set breakpoints
- Monitor an expression
- Expand a thread to show every program, module, procedure and method on the
call stack at the current execution point
- Run the program to termination
Now that you have debugged your Web application, you learn how to create an
informative error page using Page Designer. Continue to Module 8. Adding an error page.
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.