List Threads Command

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, use the version selector at the top left. We recommend upgrading to Visual Studio 2019. 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

List Call Stack Command List Disassembly Command Visual Studio Commands Command Window Find/Command Box Visual Studio Command Aliases