List Threads Command

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Displays a list of the threads in the current program.

Syntax

Debug.ListThreads [index]

Arguments

index

Optional. Selects a thread by its index to be the current thread.

Remarks

When specified, the index argument marks the indicated thread as the current thread. An asterisk (*) is displayed in the list next to the current thread.

Example

>Debug.ListThreads

See also