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.
- On the
Solution Explorer in Visual Studio, double-click the
ACCT01.cbl program to open it in the COBOL editor.
- In the Procedure Division, set a breakpoint on the first line:
EXEC CICS HANDLE CONDITION MAPFAIL(NO-MAP)
- Set any other breakpoints that you would like.
- Press
F5 to start debugging.
- A Rumba embedded terminal window is started and connects to the configured TN3270 port.
The
Sign on to CICS login screen appears.
- Clear the screen, and enter
acct to start the transaction.
In Visual Studio, the code breaks at the set breakpoint.
- Use the debug actions to step through the code as required, and to set additional breakpoints as required.
- To stop debugging, choose
from the Visual Studio menu.
- If the region was self started, it will now stop.