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
- In Eclipse, click
Run > Debug Configurations.
- Right-click
COBOL Enterprise Server; then select
New Configuration from the context menu.
- In the
Name field, type
ACCT Debug.
- Click
Browse next to the
COBOL Project field.
- Select the
ACCT project; then click
OK.
- In the
Debugging type section, on the
CICS tab, type
ACCT into the
Transaction field.
- Click
Apply.
- 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
- Press
Ctrl+Shift+Z in the
Rumba+ Desktop
Mainframe Display view to clear the CICS login screen.
- 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.
- Step through the CICS application in the usual manner.
- To stop debugging, right-click the session in the
Debug pane, and then click
Terminate.
This concludes the tutorial.