Share via


Set Current Thread 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

Sets the specified thread as the current thread.

Syntax

Debug.SetCurrentThread index

Arguments

index Required. Selects a thread by its index.

Example

>Debug.SetCurrentThread 1

See Also

Visual Studio Commands Command Window Find/Command Box Visual Studio Command Aliases