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, click
to the right of
Type and select
CICS, and then type
ACCT into the
Transaction field.
- Click
Apply.
- Click
Debug to start debugging the transaction.
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 transaction
- In
Host Access for the Cloud, press
Ctrl+F2 to clear the CICS login screen.
- Enter
ACCT to execute the CICS transaction.
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 transaction in the usual manner.
- To stop debugging, right-click the session in the
Debug pane, and then click
Terminate.
This concludes the tutorial.