Set Current Thread Command

Applies to: yesVisual Studio noVisual Studio for Mac noVisual Studio Code

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