Suspending and Resuming a Thread
See Also
Suspending a thread removes its behavior
from the program. This enables you to watch only the behavior of threads
you want.
To suspend execution of a running thread:
- In the Threads view, right-click the running thread and choose Suspend.
To resume execution of a suspended thread:
Notes
-
In the Threads view, the icon to the left of the thread name indicates whether
the thread is suspended or waiting to be resumed.
indicates the current thread.
indicates a thread that is running and is not current, and
indicates a thread that is suspended and is not current.
-
To display the Suspend property as a boolean flag (True or False) in the Threads view, use
the Change Visible Columns dialog box.
-
The state of the Thread is independent of whether the thread is suspended or waiting to be resumed. A thread's state may be Running while the Suspend property is True.
Legal Notices