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:
- Click Debug > Start Debugging or press F5.
Run the IMS Application and Debug It
Run the IMS application again as follows:
- Clear the screen of your TN3270 emulator.
- Enter MFDEMO (with a trailing space).
- Press Enter.
At this point, Visual Studio 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.