Debug the ACCT Application

Walks you through the process of setting breakpoints, and starting a Rumba+ session to connect to the debug region and start the debug process in Visual Studio.
  1. On the Solution Explorer in Visual Studio, double-click the ACCT01.cbl program to open it in the COBOL editor.
  2. In the Procedure Division, set a breakpoint on the first line: EXEC CICS HANDLE CONDITION MAPFAIL(NO-MAP)
  3. Set any other breakpoints that you would like.
  4. Press F5 to start debugging.
  5. A Rumba embedded terminal window is started and connects to the configured TN3270 port.

    The Sign on to CICS login screen appears.

  6. Clear the screen, and enter acct to start the transaction.

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

  7. Use the debug actions to step through the code as required, and to set additional breakpoints as required.
  8. To stop debugging, choose Debug > Stop debugging from the Visual Studio menu.
  9. If the region was self started, it will now stop.