Terminating and suspending a debug session

There are a number of ways to end or suspend a debug session. Various methods are described in this topic.

Terminate

About this task

Terminating immediately ends a debug session, and the routine that you are debugging runs to completion.

Procedure

To terminate a debug session:

What to do next

If you have terminated one or more sessions and want to remove them from the Debug view, right-click in the Debug view and choose Remove All Terminated from the pop-up menu.

Resume (Run)

About this task

If you are debugging a routine which contains no active breakpoints, choosing to Resume suspended threads will result in an end of the debug session (that is, the routine will run to completion and the debug session will terminate).

Note: When setting preferences, you can specify the number of seconds of inactivity before the routine that you are debugging runs to completion. If there is no debug activity for this length of time, the procedure and debug session will terminate. This option does not apply when debugging Java™ routines.

Suspend

About this task

You can suspend execution of a thread in the routine that you are debugging. When you choose to suspend execution of a thread, all threads in the routine will suspend until you issue a Resume action.


Feedback