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

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