Debugging requires no changes to your program code. It requires that your project is associated with the JCLDEMO Enterprise Server and that the Enterprise Server is configured to enable dynamic debugging, which you performed in the previous steps.
For example, in JCLRead.cbl, set a breakpoint on the line for OPEN INPUT INFILE. In JCLCreate.cbl. set a breakpoint for the line for OPEN OUTPUT OUTFILE.
Notice the messages that have appeared in the Output window.
The debugger offers you a number of choices when specifying what you want to debug. You may choose a Job Name, a Job Number, a Step Name or the top-level program on the Debug tab of the project properties.
These choices enable you to perform remote debugging, to support multiple users debugging on the same region.
In this tutorial you’re running Enterprise Server locally and no one else is connecting to it, so you do not need to specify any options and the debugger debugs any debuggable program that it finds.