Terminate or Suspend a Debug Session

These instructions describe how to stop or suspend a debug session. You can stop a debug session at any time.

Stop an Active Batch Debug Session

Follow these steps:

  1. Click the Cancel Debug Session icon on the CA InterTest™ Debug view toolbar.
    The Select Termination Object dialog for the batch project opens.

  2. Select one of the following options and then click Finish:

    • Cancel debugging
      Terminates the active z/OS job completely. You cannot restart the job but you can submit a new job to debug your programs.

    • Suspend debugging
      Terminates the debug session and places the job on the batch link queue.

      Note: You can restart the debug session any time. To restart a suspended session, click the Start Debug Session toolbar icon on the CA InterTest™ Debug view.

Stop an Active CICS Debug Session

Follow these steps:

  1. Click the Cancel Debug Session icon on the CA InterTest™ Debug view toolbar.
    The Select Termination Object dialog for the CICS project opens.

  2. Select one of the following options under Abend Current task:

    • No Dump
      Instructs CA InterTest™ for CICS to abend (terminate) the program, but does not generate a CICS system dump.

    • Regular Dump
      Abends the CICS program and generates a CICS system dump.

    • Use Abend code
      Abends the program with the abend code you specify. Select this option and type the abend code you want to use.

  3. Click Finish.

Though you have terminated the CICS program with an abend, you may still be in a CA InterTest™ for CICS debug session. You can either restart the task or suspend your debug session.

Suspend the Debug Session

Follow these steps:

  1. Click the Cancel Debug Session icon on the CA InterTest™ Debug view toolbar.
    The Select Termination Option dialog opens.

  2. Select one of the following options under Suspend debugging:

    • Disconnect
      Suspends the debug session, but your programs remain in the monitored state and all breakpoints remain in place.

    • Disconnect and Remove breakpoints
      Suspends the debug session and removes all breakpoints, but the programs remain in a monitored state.

    • Disconnect and Remove monitors
      Suspends the debug session and unmonitors your programs. This option also removes all your breakpoints and any other debug session settings.

  3. Click Finish.