Previous Topic Next topic Print topic


Debugging the IMS Application

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:

  1. 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 Debug > Options and Settings > Micro Focus > TN3270 Display, then select the required options in the TN3270 Display section.

Run the IMS Application and Debug It

Run the IMS application again as follows:

  1. Clear the screen of the embedded Rumba display, pressing CTRL+SHIFT+Z.
  2. Enter MFDEMO (with a trailing space).
  3. 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.

  4. Continue debugging the application as required.

Stop Debugging

When you have finished debugging, end the debug session as follows:

  1. Click Debug > Stop Debugging.
Previous Topic Next topic Print topic