Exercise 7.6: Closing the debug session

Before you begin, you must complete Exercise 7.5: Viewing the call stack.

To close a debug session:

  1. Click Resume on the Debug toolbar.

    The session will stop at the first breakpoint on line 8.

  2. Click Resume again.

    The session will stop at the breakpoint on line 32.

  3. Click Resume again.
  4. Click OK on the Program terminated window.

    Next, close the Debug perspective.

  5. Right-click the Debug icon.
  6. Click Close on the pop-up menu.
    Close Debug perspective
  7. Switch to the Remote System Explorer perspective to remove the Service Entry Point on GETDATA.*pgm.rpg.
  8. Drill down to s400a > iSeries Objects > Library List > WSSLABXX > GETDATA.*pgm.rpg
  9. Right-click on GETDATA.*pgm.rpg
  10. 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:

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.