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
- Click
Run > Debug Configurations.
- Right-click
COBOL Enterprise Server and click
New.
- Specify
ACCTCLNT Debug in the
Name field.
- Click
Browse next to the
COBOL Project field.
- Select the
ACCTCLNT project and click
OK.
- Enter
ACCTCLNT into the
Link-level program text box.
- Click
Apply.
Do not close the
Debug Configurations dialog box.
Debug the transaction
- On the
Debug Configurations dialog box, click
Debug.
- Click
Yes when prompted to switch to the
Debug perspective.
- In
Host Access for the Cloud, run the ACCT transaction.
- On the
ACCOUNT FILE: MENU screen, enter
W (upper case) into the
Surname field.
- 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.
- To stop debugging, right-click the session in the
Debug pane and then click
Terminate.
Stop the ACCTCLNT server
- In the Eclipse, switch to the
Team Developer perspective.
- On the
Server Explorer, right-click
ESACCTCL, and select
Stop from the context menu.
This concludes the tutorial.