Debugging requires that your project is associated with the IMSDEMO Enterprise Server and that the Enterprise Server is configured to enable dynamic debugging, which you performed in the previous steps.
Start Debugging
To start a debugging session and open your TN3270 emulator:
- Click
Debug > Start Debugging or press
F5.
Depending on how you have configured the TN3270 Display settings, one of the following occurs:
- If
Enable Display is checked, your preferred TN3270 emulator is displayed.
Note: If the embedded Rumba window is your preferred choice but is not displayed when debugging starts, click
on the debug toolbar to open it.
- If
Enable Display is not checked, you must open a TN3270 emulator and connect to the application manually.
To configure the TN3270 Display section, click
, then select the required options in the TN3270 Display section.
Run the IMS Application and Debug It
Run the IMS application again as follows:
- Clear the screen of the
embedded Rumba display, pressing
CTRL+SHIFT+Z.
- Enter
MFDEMO (with a trailing space).
- Press
Enter.
At this point, the IDE opens
DEMO001T.CBL in a debug session and highlights the line of code that is part of the initialization.
- Continue debugging the application as required.
Stop Debugging
When you have finished debugging, end the debug session as follows:
- Click
Debug > Stop Debugging.