Guides you through the process of
creating a debug configuration and
debugging the ACCT transaction using the
Eclipse debugger.
Create a debug configuration for the ACCTWEB project
- Click
Run > Debug Configurations.
- Right-click
COBOL Enterprise Server and click
New.
- Specify
ACCTWEB Debug in the
Name field.
- In the
Debugging type section, click
to the right of
Type and select
CICS.
- Type
ACCTWEB in the
Link-level program field.
This configures Eclipse to debug the Web server program.
- 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.
- Enter the following URL into a browser:
http://localhost:9003/ACCTWEB, to run the ACCTWEB application.
- In Eclipse, step through the CICS application in the usual manner.
Note: When you have finished debugging, you must stop the debugger before you stop the enterprise server. This stops all the active
transactions and ensures the enterprise server stops cleanly.
- To stop debugging, right-click the session in the
Debug pane and then click
Terminate.
- To stop the server, switch back to the
Team Developer perspective; then right-click
ESACCTSV in
Server Explorer and click
Stop.
This concludes the tutorial.