共用方式為


List Threads Command

Note

This article applies to Visual Studio 2015. 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

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