Top
NetCOBOL V11.0 Debugging Guide
FUJITSU Software

4.4 Stopping Debugging with COBOL and Visual Basic

It is important that the Visual Basic and COBOL debugging environments are closed down in the correct order. Failure to do so can result in one or both systems hanging.

Close down the debugging in the following order:

  1. If you are not already there, return to the Visual Basic environment by executing an EXIT PROGRAM statement in the COBOL program.

  2. Step through or execute a Call to JMPCINT3. This tells the COBOL runtime to tidy up and close down.

  3. Stop debugging or executing in Visual Basic.

  4. Close Visual Basic.

  5. Either Close the COBOL debugger or start another debug session.

    To start another debug session use one of the following:

    • Select Continue, Re-debug.

    • Select File, Start Debugging

    • Select File, and a previously debugged program.