Debug the ACCT Transaction

Guides you through the process of creating a debug configuration for the ACCTCLNT project and debugging the ACCT transaction using the Enterprise Developer debugger in Eclipse.

Create a debug configuration for the ACCTCLNT project

  1. Click Run > Debug Configurations.
  2. Right-click COBOL Enterprise Server and click New.
  3. Specify ACCTCLNT Debug in the Name field.
  4. Click Browse next to the COBOL Project field.
  5. Select the ACCTCLNT project and click OK.
  6. Enter ACCTCLNT into the Link-level program text box.
  7. Click Apply.

    Do not close the Debug Configurations dialog box.

Debug the transaction

  1. On the Debug Configurations dialog box, click Debug.
  2. Click Yes when prompted to switch to the Debug perspective.
  3. In Rumba+ Desktop, run the ACCT transaction.
  4. On the ACCOUNT FILE: MENU screen, enter W (upper case) into the Surname field.
  5. Step through the application in the usual manner.

    When you have stepped through the appropriate code, a list of records that start with W appears on the screen.

  6. To stop debugging, right-click the session in the Debug pane and then click Terminate.
  7. To stop the server, switch back to the Team Developer perspective; then right-click ACCTCLNT in the Server Explorer and click Stop.

This concludes the tutorial.