To Start and Run the Debug Session

You must have a listener configured to connect to the debug region.

  1. In the Visual Studio IDE, set breakpoints in the source code where you want the debugging to stop.
  2. In the Visual Studio IDE, press F5, or from the menu, click Debug > Start debugging .
    • If the Managed region is not running, you will be prompted to allow Visual Studio to start it on your behalf.

      The popup behavior can be modified in the Micro Focus Enterprise Server option in the Tools/Options dialogs.

  3. Submit a JCL job containing the program you wish to execute for debug.

    In Visual Studio, the code breaks at the set breakpoint.

  4. Use the debug actions to step through the code as needed.
  5. To stop debugging, click Debug > Stop debugging from the Visual Studio menu.