Debug the ACCT Application

Walks you through the steps required to set Enterprise Server options and create a debug configuration in Eclipse; then debug the ACCT transaction from Eclipse.

Create a debug configuration

  1. In Eclipse, click Run > Debug Configurations.
  2. Right-click COBOL Enterprise Server; then select New Configuration from the context menu.
  3. In the Name field, type ACCT Debug.
  4. Click Browse next to the COBOL Project field.
  5. Select the ACCT project; then click OK.
  6. In the Debugging type section, on the CICS tab, type ACCT into the Transaction field.
  7. Click Apply.
  8. Click Debug to start debugging the application.

    Based on the debug options set previously, this starts the ESACCT server automatically.

    Note:
    • If prompted to confirm a switch to the Debug perspective, click Yes.
    • If you see a Windows Security Alert blocking the Micro Focus Debugger Proxy V2, click Allow access to enable it.

Debug the ACCT transaction

  1. Press Ctrl+Shift+Z in the Rumba+ Desktop Mainframe Display view to clear the CICS login screen.
  2. Enter ACCT to execute the CICS application.

    In Eclipse, the debugger stops the execution of the process and positions the cursor in the Procedure Division of the ACCT00.cbl file.

  3. Step through the CICS application in the usual manner.
  4. To stop debugging, right-click the session in the Debug pane, and then click Terminate.

This concludes the tutorial.