分享方式:


Set Current Stack Frame Command

Applies to: yesVisual Studio noVisual Studio for Mac

Note

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

Allows you to set a particular stack frame.

Syntax

Debug.SetCurrentStackFrame index

Arguments

index

Required. Selects a stack frame by its index.

Example

>Debug.SetCurrentStackFrame 1

See also